Skip to content

Fix CMake warning#6479

Merged
DennisOSRM merged 2 commits intomasterfrom
dl_fix_cmake_warning
Dec 11, 2022
Merged

Fix CMake warning#6479
DennisOSRM merged 2 commits intomasterfrom
dl_fix_cmake_warning

Conversation

@DennisOSRM
Copy link
Copy Markdown
Collaborator

Fixes the following nagging warning:

CMake Warning (dev) at /usr/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (Lua).  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):
  /usr/share/cmake-3.24/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
  cmake/FindLua.cmake:39 (include)
  CMakeLists.txt:571 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (Lua).  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):
  /usr/share/cmake-3.24/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
  cmake/FindLua.cmake:39 (include)
  CMakeLists.txt:571 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
@DennisOSRM DennisOSRM marked this pull request as ready for review December 11, 2022 08:40
@DennisOSRM DennisOSRM merged commit 076cbd7 into master Dec 11, 2022
@DennisOSRM DennisOSRM deleted the dl_fix_cmake_warning branch December 11, 2022 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants