Skip to content
Snippets Groups Projects
Commit 2f4516ba authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Fix FindDataMan.cmake missing include.

FindPackageHandleStandardArgs needs to be included in every find module
that the find_package_handle_standard_args is used.  I was getting
transitively included by othger find modules before but when all other
options are turned off except DataMan, it's missing.  This ensures it's
always included before calling find_package_handle_standard_args.
parent 5c98d86e
No related branches found
No related tags found
1 merge request!53Fix FindDataMan.cmake missing include.
...@@ -51,6 +51,7 @@ if(NOT DataMan_FOUND) ...@@ -51,6 +51,7 @@ if(NOT DataMan_FOUND)
find_library(DataMan_LIBRARY dataman ${_DataMan_LIBRARY_HINT}) find_library(DataMan_LIBRARY dataman ${_DataMan_LIBRARY_HINT})
unset(_DataMan_LIBRARY_HINT) unset(_DataMan_LIBRARY_HINT)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(DataMan find_package_handle_standard_args(DataMan
FOUND_VAR DataMan_FOUND FOUND_VAR DataMan_FOUND
REQUIRED_VARS REQUIRED_VARS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment