[CMake] OPTION variables are not accesible in POST_INSTALL_SCRIPTs

Michael Biebl mbiebl at gmail.com
Tue Apr 11 20:20:14 EDT 2006


I have OPTION(INSTALL_LINKS "..." ON) in the toplevel CMakeLists.txt
file and want to use that variable in a POST_INSTALL_SCRIPT. Depending
on INSTALL_LINKS I want to create additional links. Unfortunately the
value of INSTALL_LINKS is not propagated to the POST_INSTALL_SCRIPT
create_links.cmake. Is that a bug or am I doing something wrong?

Cheers,
Michael


More information about the CMake mailing list