summaryrefslogtreecommitdiff
path: root/app-editors/texworks/files/texworks-0.6.10-cmake_lua_version.patch
blob: 8fbfae4b5e0cbf26841d063c3f48d57751edd709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9682c39..43ddca5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -321,7 +321,7 @@ SET(TeXworks_LIBS
 # -------------------------------
 
 IF ( WITH_LUA )
-  find_package(TwxLua)
+  find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
 ENDIF()
 
 IF ( WITH_PYTHON )