Moved the definition of AC_DEFAULT_CONFIG to the root-level CMakeLists.txt. Now should be visible throughout the project.

This commit is contained in:
jpekkila
2019-12-03 18:42:49 +02:00
parent f97e5cb77c
commit 6e63411170
3 changed files with 3 additions and 3 deletions

View File

@@ -8,4 +8,3 @@ 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")