summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0697bcb..f5da0f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,9 +7,11 @@ include(FindPkgConfig)
# ${SRC_FILES} is recursively defined in the subdirectories.
# Each subdirectory adds only the source files that are present at its level.
-add_subdirectory(src)
+file(GLOB_RECURSE SRC_FILES src/ true *.c)
add_executable(relabsd ${SRC_FILES})
+include_directories(include/)
+
# Language parameters.
enable_language(C)
target_compile_features(relabsd PUBLIC c_variadic_macros)