> I thank you so much Eric, > However I managed this thing and obteined the expected result by writing > something similar and then including it in my root CMakeLists.txt: > > ----- util lib dependency ----- > # -*- Makefile -*- > > IF(BUILD_STANDALONE)
For those project I need that I usually do this without the user need to do something special by: IF (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) Eike _______________________________________________ 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
