Commit [f6305e]  Maximize  Restore  History

Fix vxl_config_macros usage of CMake check macros

Some CMake check macros used the idiom

if("${VAR}" MATCHES "^${VAR}$")

to detect whether a variable is set. In vxl_config_macros we were
abusing this implementation by using

SET( ${VARIABLE} ${VARIABLE} )

to reset the check state. This prevents the CMake macros from using

if(NOT DEFINED "${VAR}")

instead of the old idiom. Use the much cleaner

UNSET(${VARIABLE})

instead.

Brad King Brad King 2014-08-18

changed config/cmake/config/vxl_config_macros.cmake
config/cmake/config/vxl_config_macros.cmake Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks