From 3457ff9d2572c018f2743068aed1a928b5e84c1d Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Sun, 19 Feb 2023 11:29:55 +0100 Subject: [PATCH] make sure that dictionary generation works. --- src/classes/CMakeLists.txt | 1 + src/external/DepthProfile/src/CMakeLists.txt | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/classes/CMakeLists.txt b/src/classes/CMakeLists.txt index 769498aa..78e7aeed 100644 --- a/src/classes/CMakeLists.txt +++ b/src/classes/CMakeLists.txt @@ -6,6 +6,7 @@ set(MUSRFIT_INC ${CMAKE_SOURCE_DIR}/src/include) # Hence, target_include_directories cannot be used here because, targets are # setup only afterwards. include_directories(${MUSRFIT_INC}) +include_directories(${FFTW3_INCLUDE}) root_generate_dictionary( PFourierCanvasDict diff --git a/src/external/DepthProfile/src/CMakeLists.txt b/src/external/DepthProfile/src/CMakeLists.txt index acb37fbb..eca786d7 100644 --- a/src/external/DepthProfile/src/CMakeLists.txt +++ b/src/external/DepthProfile/src/CMakeLists.txt @@ -6,6 +6,7 @@ set(DEPTH_PROFILE_INC ${CMAKE_CURRENT_SOURCE_DIR}/../inc) # ROOT requires that the dictonary header files are found at configuration time. # Hence, target_include_directories cannot be used here because, targets are # setup only afterwards. +include_directories(${FFTW3_INCLUDE}) include_directories(${MUSRFIT_INC}) include_directories(${DEPTH_PROFILE_INC}) @@ -13,7 +14,7 @@ root_generate_dictionary( PDepthProfileDict PDepthProfile.h OPTIONS - -I${FFTW3_INCLUDE_DIR} + -I${FFTW3_INCLUDE} -I${MUSRFIT_INC} -I${DEPTH_PROFILE_INC} -inlineInputHeader @@ -45,7 +46,7 @@ set_target_properties(PDepthProfile #--- make sure that the include directory is found ---------------------------- target_include_directories( PDepthProfile BEFORE PRIVATE - $ + $ $ $ )