[email protected] wrote:
To make a long story short:

What I did is, I write
SET (CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/../..)

in the starting CMakeLists.txt in [whatever]/build/project1/

But it looks a bit ugly to me ...

-tom

This is not nice in my eyes, but it i

You should never be setting that variable. It is internal to CMake and almost certain to break something in an odd an unpredictable way. Why do you want to change that variable?


-Bill

_______________________________________________
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

Reply via email to