AC_DEFAULT_CONFIG now propagated to projects that link to astaroth utils

This commit is contained in:
jpekkila
2019-10-17 13:05:17 +03:00
parent 859195eda4
commit bb9e65a741

View File

@@ -8,3 +8,4 @@ add_compile_options(-Wall -Wextra -Werror -Wdouble-promotion -Wfloat-conversion
## Compile
add_library(astaroth_utils STATIC config_loader.c memory.c verification.c)
target_link_libraries(astaroth_utils PRIVATE astaroth_core m)
target_compile_definitions(astaroth_utils PUBLIC -DAC_DEFAULT_CONFIG="${CMAKE_SOURCE_DIR}/config/astaroth.conf")