CMake: Nail down lua to be 5.3

This commit is contained in:
Lion Kortlepel 2021-11-08 23:13:47 +01:00
parent 7197c23632
commit 87f23427a1
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -99,7 +99,7 @@ target_include_directories(BeamMP-Server PUBLIC
"${CMAKE_CURRENT_SOURCE_DIR}/commandline")
message(STATUS "Looking for Lua")
find_package(Lua REQUIRED)
find_package(Lua REQUIRED VERSION 5.3)
target_include_directories(BeamMP-Server PUBLIC
${LUA_INCLUDE_DIR}
${CURL_INCLUDE_DIRS}