1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix linking of Lua

This commit is contained in:
Steffen Vogel 2021-02-19 06:39:23 +01:00
parent 04fe1d34a1
commit 4058941130
2 changed files with 5 additions and 1 deletions

View file

@ -88,6 +88,10 @@ if(WITH_GRAPHVIZ)
list(APPEND LIBRARIES PkgConfig::CGRAPH PkgConfig::GVC)
endif()
if(WITH_LUA)
list(APPEND LIBRARIES PkgConfig::LUA)
endif()
if(WITH_NODE_INFINIBAND)
list(APPEND LIB_SRC memory/ib.cpp)
endif()

View file

@ -46,7 +46,7 @@ set(HOOK_SRC
)
if(WITH_LUA)
list(APPEND lua.cpp)
list(APPEND HOOK_SRC lua.cpp)
endif()
add_library(hooks STATIC ${HOOK_SRC})