From 390576c3839ee7abb845e27b7267de45495e6b2f Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 23 Dec 2019 15:44:19 +0100 Subject: Starting to turn relabsd into a proper daemon... --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3-70-g09d2