[CMake] multiple cmake files in one directory
Bill Hoffman
bill.hoffman at kitware.com
Thu Sep 24 09:27:10 EDT 2009
th.tom at gmx.de 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
More information about the CMake
mailing list