<div dir="ltr"><div>I'm trying to get cmake to compile an autoconf external library that comes with my git repo.  I've found an example on stackoverflow that supposedly works, but I get an error message saying no CMakeLists.txt exists in that directory.  </div>

<div><br></div><a href="http://stackoverflow.com/questions/16604815/cmake-reuse-externalproject-depends-does-not-work">http://stackoverflow.com/questions/16604815/cmake-reuse-externalproject-depends-does-not-work</a><br>
<div>
<br></div><div>I figured because BUILD_DIR is set to "make", I wouldn't need a CMakeLists.txt file in that directory.  Anyway, I tried including an empty one and get a "no rule to make target install", which is closer, but still not correct as I'm not calling "make install", right?  </div>

<div><br></div><div>Here's my root CMakeLists.txt.  Is there another argument or something to get this to work?  Why does including "make" give an "install" message?  If I'm doing the whole autoconf workflow, do I need the full set of commands "configure; make; make install" or is cmake doing some fancy logic?  </div>

<div><br></div><div><div>cmake_minimum_required(VERSION 2.8)</div><div><br></div><div>project(ppml)</div><div><br></div><div>include(ExternalProject)</div><div><br></div><div>ExternalProject_Add(</div><div>  fftw</div><div>

  DOWNLOAD_COMMAND ""</div><div>  SOURCE_DIR /home/stratton/Public/ppml/external/fftw-3.3.3</div><div>  BUILD_COMMAND make</div><div>  BUILD_IN_SOURCE 1</div><div>)</div></div><div><br></div></div>