Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima
Commits
0f8b933f
Commit
0f8b933f
authored
Jul 16, 2020
by
Samuel Debionne
Browse files
Fix cmake find_package_handle_standard_args warning
parent
979e3b3a
Pipeline
#29665
passed with stages
in 30 minutes and 57 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
0f8b933f
...
...
@@ -179,7 +179,7 @@ set(extra_definitions)
# Optional for libconfig++ support
if
(
LIMA_ENABLE_CONFIG
)
find_package
(
Libconfig
)
if
(
${
CONFIG_FOUND
}
)
if
(
${
LIB
CONFIG_FOUND
}
)
list
(
APPEND extra_definitions -DWITH_CONFIG
)
list
(
APPEND extra_libs
${
LIBCONFIG_LIBRARIES
}
)
list
(
APPEND common_srcs common/src/ConfigUtils.cpp
)
...
...
cmake/FindLibconfig.cmake
View file @
0f8b933f
...
...
@@ -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
(
Lib
config DEFAULT_MSG LIBCONFIG_LIBRARIES LIBCONFIG_INCLUDE_DIRS
)
cmake/FindNumPy.cmake
View file @
0f8b933f
...
...
@@ -104,7 +104,7 @@ if (NOT NUMPY_FOUND)
##__________________________________________________________________________
## Actions taken when all components have been found
find_package_handle_standard_args
(
N
UMPY
DEFAULT_MSG NUMPY_INCLUDE_DIRS
)
find_package_handle_standard_args
(
N
umPy
DEFAULT_MSG NUMPY_INCLUDE_DIRS
)
if
(
NUMPY_FOUND
)
if
(
NOT NUMPY_FIND_QUIETLY
)
...
...
cmake/FindNuma.cmake
View file @
0f8b933f
...
...
@@ -40,4 +40,4 @@ endif()
mark_as_advanced
(
NUMA_INCLUDE_DIR NUMA_LIBRARY_DIR NUMA_LIBRARY
)
find_package_handle_standard_args
(
N
UMA
REQUIRED_VARS NUMA_INCLUDE_DIR NUMA_LIBRARY
)
find_package_handle_standard_args
(
N
uma
REQUIRED_VARS NUMA_INCLUDE_DIR NUMA_LIBRARY
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment