Merge pull request #169 from rolk/169_havetest

Check that test prog. compiled before declared found
This commit is contained in:
Atgeirr Flø Rasmussen 2013-03-05 00:40:40 -08:00
commit f44db76a72

View File

@ -195,7 +195,7 @@ function (find_opm_package module deps header lib defs prog conf)
find_package_handle_standard_args (
${module}
DEFAULT_MSG
${module}_INCLUDE_DIR ${_lib_var}
${module}_INCLUDE_DIR ${_lib_var} HAVE_${MODULE}
)
# allow the user to override these from user interface