Commit [d55d75] Maximize Restore History

COMP: 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.

Change-Id: Iabd613d6666cd3513a406f5c5c1479f205dbbf69

Brad King Brad King 2014-08-18

changed Modules/ThirdParty/VNL/src/vxl/config/cmake/config/vxl_config_macros.cmake
Modules/ThirdParty/VNL/src/vxl/config/cmake/config/vxl_config_macros.cmake Diff Switch to side-by-side view
Loading...