-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
cmake issue with lua5.4 on macOS #5980
Copy link
Copy link
Closed
Description
Recently updated Lua to version 5.4.2 via homebrew and the following error occurs.
$ cmake ..
(...)
CMake Warning (dev) at /usr/local/Cellar/cmake/3.17.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (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/local/Cellar/cmake/3.17.3/share/cmake/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args)
cmake/FindLua.cmake:39 (include)
CMakeLists.txt:539 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /usr/local/Cellar/cmake/3.17.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Lua (missing: LUA_INCLUDE_DIR) (Required is at least version
"5.2")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.17.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
cmake/FindLua.cmake:198 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:539 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/user/maps/osrm-ijleesw/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "/Users/user/maps/osrm-ijleesw/cmake-build-debug/CMakeFiles/CMakeError.log".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels