Hello,
I want to add some custom install code via INSTALL(CODE <code>). How can
I set variables inside such a INSTALL(CODE ...) statement? I tried
something like
INSTALL(CODE "
SET(DATE \"today\")
MESSAGE(\"Date = \" ${DATE})
")
The output is "Date =" and not "Date = today". It seems like one cannot
set variables this way. Does anybody know where my mistake is?
Thanks a lot,
Christian Lang
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake