Skip to content

Commit

Permalink
build: fix cmake find module names
Browse files Browse the repository at this point in the history
CMake currently gives a warning since the file name (FindLibuv) isn't
the same as the argument given to FIND_PACKAGE_HANDLE_STANDARD_ARGS
(LIBUV). Changing the argument given to be the same as the file fixes
the warning.
  • Loading branch information
dundargoc authored and squeek502 committed Feb 3, 2023
1 parent 1f52139 commit e8e7b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/Modules/FindLibuv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ if(WIN32)
endif()

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LIBUV DEFAULT_MSG LIBUV_LIBRARIES LIBUV_INCLUDE_DIR)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Libuv DEFAULT_MSG LIBUV_LIBRARIES LIBUV_INCLUDE_DIR)
2 changes: 1 addition & 1 deletion cmake/Modules/FindLuaJIT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ if (LUAJIT_INCLUDE_DIR AND EXISTS "${LUAJIT_INCLUDE_DIR}/lua.h")
endif()

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LUAJIT DEFAULT_MSG LUAJIT_LIBRARIES LUAJIT_INCLUDE_DIR)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LuaJIT DEFAULT_MSG LUAJIT_LIBRARIES LUAJIT_INCLUDE_DIR)

0 comments on commit e8e7b7e

Please sign in to comment.