mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-08 12:00:55 +00:00
Using lua includes as INTERFACE
This commit is contained in:
@@ -18,7 +18,7 @@ set(SRC
|
|||||||
)
|
)
|
||||||
|
|
||||||
include(FindLua)
|
include(FindLua)
|
||||||
include_directories(${LUA_INCLUDE_DIR})
|
|
||||||
|
|
||||||
add_library(LuaGate STATIC ${SRC} ${HEADERS})
|
add_library(LuaGate STATIC ${SRC} ${HEADERS})
|
||||||
|
target_include_directories(LuaGate INTERFACE ${LUA_INCLUDE_DIR})
|
||||||
target_link_libraries(LuaGate ${LUA_LIBRARIES})
|
target_link_libraries(LuaGate ${LUA_LIBRARIES})
|
||||||
|
|||||||
Reference in New Issue
Block a user