On Thursday 29 July 2010, Eric Noulard wrote: > 2010/7/29 Clifford Yapp <cliffy...@gmail.com>: > > Got it - was using a VTK macro for third_party inclusion that was > > using SUBDIRS - switching it to ADD_DIRECTORY got me going. Awesome! > > SUBDIRS is deprecated but it's good to know that it's behavior > is not strictly equivalent to ADD_DIRECTORY in some case.
SUBDIRS() are processed after the rest of the CMakeLists.txt has been processed, ADD_SUBDIRECTORY() is processed immediately. Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake