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.
15 lines
402 B
15 lines
402 B
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -148,9 +148,9 @@ if (ENABLE_CPPUNIT)
|
|
endif (ENABLE_CPPUNIT)
|
|
|
|
# Plugins / scripting
|
|
-find_package (Lua 5.3 EXACT)
|
|
+find_package (Lua ${LUA_VERSION} EXACT)
|
|
if (NOT Lua_FOUND)
|
|
- find_package (Lua 5.3) # Lua 5.4 is only supported with cmake >=3.18
|
|
+ find_package (Lua ${LUA_VERSION}) # Lua 5.4 is only supported with cmake >=3.18
|
|
endif()
|
|
|
|
if (Lua_FOUND)
|