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 "foo/A" as the <path-to-source>. Unfortunately I can't seem to manage it. The tar file is unpacked with ${SOURCE_DIR} as its root, and that same directory is used as the <path-to-source> for the cmake command -- I want ${SOURCE_DIR}/A. Any suggestions on how to make ExternalProject do what I want? Clearly I can just repackage the tar file, but I'd rather use the pristine tar file if I can.
Thanks
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake