summaryrefslogtreecommitdiff
path: root/games-simulation/corsix-th/files/corsix-th-0.64-cmake_lua_detection.patch
blob: d57fa953ad05dced1c0900c1d9dccd5c74c9fe58 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CorsixTH/CMakeLists.txt
+++ b/CorsixTH/CMakeLists.txt
@@ -103,7 +103,7 @@
 endif()
 
 # Find Lua
-find_package(Lua REQUIRED)
+find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
 if(Lua_FOUND)
   target_link_libraries(CorsixTH ${LUA_LIBRARY})
   include_directories(${LUA_INCLUDE_DIR})