[CMake] what is the right way to set CMAKE_USE_RELATIVE_PATHS?

Claus Klein claus.klein at arcormail.de
Mon Dec 21 15:50:54 EST 2009


Hi all,

I tried to use:
    set(CMAKE_USE_RELATIVE_PATHS ON)
in my CMakeLists.txt.

But I noticed, that some cmake variables can't be changed in that way.
In the CMakeCache.txt, it is still OFF?

What goes wrong?
Which is the right way do set CMAKE_BUILD_TYPE and CMAKE_USE_RELATIVE_PATHS?

//regards

Claus


More information about the CMake mailing list