You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
344 B
12 lines
344 B
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -185,7 +185,7 @@
|
|
include_directories(SYSTEM ${LUAJIT_INCLUDE_DIR})
|
|
set(HAVE_LUAJIT 1)
|
|
else()
|
|
- find_package(Lua REQUIRED)
|
|
+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
|
|
include_directories(SYSTEM ${LUA_INCLUDE_DIR})
|
|
endif()
|
|
set(HAVE_LUA 1)
|