From 4fd92ec6b203d6b94b9e9f9531fd60a65736e810 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 11 Dec 2024 09:30:07 -0500 Subject: Restructure project * Move headers to relevant include directories within the target tree(s) * Adjust doxygen configuration to search correct paths * Adjust CMake configuration to use new include paths --- src/lib/delivery/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/lib/delivery/CMakeLists.txt') diff --git a/src/lib/delivery/CMakeLists.txt b/src/lib/delivery/CMakeLists.txt index 19e2c80..78ed20f 100644 --- a/src/lib/delivery/CMakeLists.txt +++ b/src/lib/delivery/CMakeLists.txt @@ -1,5 +1,3 @@ -include_directories(${PROJECT_BINARY_DIR}) - add_library(stasis_delivery STATIC delivery_postprocess.c delivery_conda.c @@ -13,4 +11,9 @@ add_library(stasis_delivery STATIC delivery_init.c delivery.c ) +target_include_directories(stasis_delivery PRIVATE + ${core_INCLUDE} + ${delivery_INCLUDE} + ${CMAKE_CURRENT_SOURCE_DIR}/include +) target_link_libraries(stasis_delivery stasis_core) \ No newline at end of file -- cgit