summaryrefslogtreecommitdiff
blob: 4a36b892cf51bee969e5021393d6e7ac2159b437 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -297,7 +297,7 @@
 # -------------------------------
 
 IF ( WITH_LUA )
-  find_package(TwxLua)
+  find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
 ENDIF()
 
 IF ( WITH_PYTHON )