Commit a183a0df authored by Walter Gray's avatar Walter Gray

Fix the check_and_save_build_option macro never evaluating to true

parent ae85cb8e
...@@ -39,7 +39,7 @@ endif() ...@@ -39,7 +39,7 @@ endif()
# Check and save build options used to create this package # Check and save build options used to create this package
macro(_check_and_save_build_option OPTION VALUE) macro(_check_and_save_build_option OPTION VALUE)
if(DEFINED ${PACKAGE_FIND_NAME}_${OPTION} AND if(DEFINED ${PACKAGE_FIND_NAME}_${OPTION} AND
NOT ${PACKAGE_FIND_NAME}_${OPTION} EQUAL VALUE) NOT ${PACKAGE_FIND_NAME}_${OPTION} STREQUAL ${VALUE})
set(PACKAGE_VERSION_UNSUITABLE TRUE) set(PACKAGE_VERSION_UNSUITABLE TRUE)
endif() endif()
set(${PACKAGE_FIND_NAME}_${OPTION} ${VALUE}) set(${PACKAGE_FIND_NAME}_${OPTION} ${VALUE})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment