[CMake] How to determine origin of variable

Martin Weber m.weber at razorcat.com
Fri Aug 26 05:18:36 EDT 2011


Am 25.08.2011 17:54, schrieb David Cole:
[...]
> See this recent bug report for some advice in the notes:
> http://public.kitware.com/Bug/view.php?id=12340
>
> And this old email on the list that contains basically the same advice:
> http://www.cmake.org/pipermail/cmake/2007-August/015814.html
>
> You can also search for CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT --
> you can use that value near the top of your top-level CMakeLists.txt
> file to force-initialize CMAKE_INSTALL_PREFIX to your own default
> value if you want to.

Thank, that helped. I was not aware of the difference between cache vars 
and vars set in CMakelists.txt.

Martin

-- 
E-Mails sollten Text sein, Text und nur Text.
Wenn Gott gewollt hätte, dass E-Mails in HTML geschrieben würden,
endeten Gebete traditionell mit </amen>.


More information about the CMake mailing list