Re: [CMake] ExternalProject_Add: directing cmake to a different

2015-02-07 Thread Miklos Espak
Specify a patch command that creates a toplevel cmake list with one 'add_subdirectory(A)' line. On Sun, 8 Feb 2015 4:14 am Neil Carlson wrote: > I'm trying to get ExternalProject_Add to build a TPL that doesn't have a > CMakeLists.txt file in the top-level directory. The TPL untars as > foo/{A

[CMake] ExternalProject_Add: directing cmake to a different

2015-02-07 Thread Neil Carlson
I'm trying to get ExternalProject_Add to build a TPL that doesn't have a CMakeLists.txt file in the top-level directory. The TPL untars as foo/{A,B} where A and B each contain a CMakeLists.txt file and are independent of each other. I only want to build "A" and would like to have cmake run with "