Hello everyone,

I don't find in any example to override a variable.

I proceed this way:

unset(MY_VAR CACHE)
set(MY_VAR MY_NEW_VALUE)

I have many variables so I would like to have just one line to change just the value of the variable (not its documentation) in one line like this:

set(MY_VAR MY_NEW_VALUE FORCED)

Is it possible?

Thank you,

Romain












--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to