We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7dc76 commit 94a72fcCopy full SHA for 94a72fc
config_utilities/cmake/config_utilitiesConfig.cmake.in
@@ -5,8 +5,13 @@ get_filename_component(config_utilities_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}"
5
include(CMakeFindDependencyMacro)
6
7
find_dependency(yaml-cpp REQUIRED)
8
-find_dependency(Eigen3 QUIET)
9
-find_dependency(glog QUIET)
+if (@Eigen3_FOUND@) # expanded from Eigen3_FOUND during build time
+ find_dependency(Eigen3)
10
+endif()
11
+
12
+if (@glog_FOUND@) # expanded from glog_FOUND during build time
13
+ find_dependency(glog)
14
15
16
if(NOT TARGET config_utilities::config_utilities)
17
include("${config_utilities_CMAKE_DIR}/config_utilitiesTargets.cmake")
0 commit comments