ports/geo/osm2pgsql/patches/patch-CMakeLists_txt

13 lines
400 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -188,7 +188,7 @@ if (WITH_LUA)
add_definitions(-DHAVE_LUAJIT=1)
else()
message(STATUS "Building with Lua support")
- find_package(Lua REQUIRED)
+ find_package(Lua ${MODLUA_VERSION} REQUIRED)
include_directories(SYSTEM ${LUA_INCLUDE_DIR})
endif()
add_definitions(-DHAVE_LUA=1)