From 1aaf244efb402d9064be4b265d62cdec38c64fc0 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Tue, 13 Aug 2019 09:28:14 +0100 Subject: [PATCH] Cmake: Adding Fluid Manuipulation repo dependency the quick and dirty way --- CMakeLists.txt | 1 + scripts/target_post.cmake | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 71c94fb..0513eda 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,7 @@ ENDMACRO() set(FLUID_PATH ~/fluid_decomposition CACHE PATH "The top level of the fluid_decomposition repo") set(LOCAL_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/include") +set(FLUID_M_PATH ~/dev/fluid_manipulation/fluid_manipulation CACHE PATH "The top level of the fluid_manipulation repo") get_filename_component(FLUID_ABS_PATH "${FLUID_PATH}" ABSOLUTE) diff --git a/scripts/target_post.cmake b/scripts/target_post.cmake index 2ce587f..ea4798e 100644 --- a/scripts/target_post.cmake +++ b/scripts/target_post.cmake @@ -27,6 +27,7 @@ target_include_directories( ${PLUGIN} PRIVATE ${LOCAL_INCLUDES} + "${FLUID_M_PATH}/include/" ) target_include_directories(