mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-01 05:08:10 -07:00
14 lines
458 B
Diff
14 lines
458 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 78c0345..853ba90 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -140,7 +140,7 @@ else (LUA)
|
|
if (WIN32)
|
|
find_package(Lua REQUIRED)
|
|
else()
|
|
- find_package(Lua)
|
|
+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
|
|
endif()
|
|
if(NOT LUA_INCLUDE_DIR)
|
|
message( FATAL_ERROR "Failed to find Lua headers. Variable `LUA_INCLUDE_DIR' expected to be defined.")
|