[CMake] Setting variables in CMakeLists.txt

Philip Lowman philip at yhbt.com
Thu Apr 30 22:26:22 EDT 2009


On Thu, Apr 30, 2009 at 5:45 PM, barcaroller <barcaroller at sympatico.ca>wrote:

>
> I'm having problems setting variables in my CMakeLists.txt files.
> Specifically, the following two lines have absolutely no effect, regardless
> of what values I give them:
>
>
>    SET (CMAKE_VERBOSE_MAKEFILE    ON)


Which version of CMake are you using?

Are you aware of "make VERBOSE=1"?


>
>    SET (CMAKE_USE_RELATIVE_PATHS  ON)


Most likely you're impacted by this bug.
http://www.vtk.org/Bug/view.php?id=7779

Please try CMake 2.6.4 (which appears to have just been released but the
download page hasn't been updated yet?)  You can find the link for it in
this directory for your platform.
http://www.cmake.org/files/v2.6/


-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090430/2190c551/attachment.htm>


More information about the CMake mailing list