mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-03 02:23:44 +00:00
Trying to fix windows compilation
This commit is contained in:
@@ -18,6 +18,10 @@ set(SRC
|
||||
)
|
||||
|
||||
include(FindLua)
|
||||
if (NOT LUA_FOUND AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/include/lua.hpp)
|
||||
set(LUA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include/)
|
||||
set(LUA_LIBRARIES ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
add_library(LuaGate STATIC ${SRC} ${HEADERS})
|
||||
target_include_directories(LuaGate PUBLIC ${LUA_INCLUDE_DIR})
|
||||
|
||||
Reference in New Issue
Block a user