Skip to content

Fix cmake find_package_handle_standard_args warning

Samuel Debionne requested to merge fix-cmake-warnings into master
CMake Warning (dev) at /home/debionne/miniconda3/envs/simu/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (NUMA) does
  not match the name of the calling package (Numa).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindNuma.cmake:43 (find_package_handle_standard_args)
  CMakeLists.txt:65 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/debionne/miniconda3/envs/simu/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (NUMPY) does
  not match the name of the calling package (NumPy).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindNumPy.cmake:107 (find_package_handle_standard_args)
  cmake/LimaTools.cmake:132 (find_package)
  CMakeLists.txt:87 (limatools_find_python_and_sip)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at /home/debionne/miniconda3/envs/simu/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (config)
  does not match the name of the calling package (Libconfig).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindLibconfig.cmake:5 (find_package_handle_standard_args)
  CMakeLists.txt:181 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
Edited by Samuel Debionne

Merge request reports

Loading