Commit 0f8b933f authored by Samuel Debionne's avatar Samuel Debionne

Fix cmake find_package_handle_standard_args warning

parent 979e3b3a
Pipeline #29665 passed with stages
in 30 minutes and 57 seconds
......@@ -179,7 +179,7 @@ set(extra_definitions)
# Optional for libconfig++ support
if(LIMA_ENABLE_CONFIG)
find_package(Libconfig)
if(${CONFIG_FOUND})
if(${LIBCONFIG_FOUND})
list(APPEND extra_definitions -DWITH_CONFIG)
list(APPEND extra_libs ${LIBCONFIG_LIBRARIES})
list(APPEND common_srcs common/src/ConfigUtils.cpp)
......
......@@ -2,4 +2,4 @@ find_library(LIBCONFIG_LIBRARIES libconfig++)
find_path(LIBCONFIG_INCLUDE_DIRS libconfig.h++)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(config DEFAULT_MSG LIBCONFIG_LIBRARIES LIBCONFIG_INCLUDE_DIRS)
find_package_handle_standard_args(Libconfig DEFAULT_MSG LIBCONFIG_LIBRARIES LIBCONFIG_INCLUDE_DIRS)
......@@ -104,7 +104,7 @@ if (NOT NUMPY_FOUND)
##__________________________________________________________________________
## Actions taken when all components have been found
find_package_handle_standard_args (NUMPY DEFAULT_MSG NUMPY_INCLUDE_DIRS)
find_package_handle_standard_args (NumPy DEFAULT_MSG NUMPY_INCLUDE_DIRS)
if (NUMPY_FOUND)
if (NOT NUMPY_FIND_QUIETLY)
......
......@@ -40,4 +40,4 @@ endif()
mark_as_advanced(NUMA_INCLUDE_DIR NUMA_LIBRARY_DIR NUMA_LIBRARY)
find_package_handle_standard_args(NUMA REQUIRED_VARS NUMA_INCLUDE_DIR NUMA_LIBRARY)
find_package_handle_standard_args(Numa REQUIRED_VARS NUMA_INCLUDE_DIR NUMA_LIBRARY)
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