gluon/package/gluon-core/src/CMakeLists.txt
Matthias Schiffer 0b80f1b5ce
gluon-core: reimplement gluon.site module in C
By basing the Lua gluon.site module on gluonutil_load_site_config(), the
config load implementation needs to changed only in a single place for
multi-domain support.
2018-01-18 16:29:00 +01:00

13 lines
315 B
CMake

cmake_minimum_required(VERSION 3.0)
project(gluon-core C)
add_library(site MODULE site.c)
set_property(TARGET site PROPERTY PREFIX "")
set_property(TARGET site PROPERTY COMPILE_FLAGS "-Wall -std=c99")
target_link_libraries(site gluonutil lua lua-jsonc)
install(TARGETS site
LIBRARY DESTINATION lib/lua/gluon
)