From e16e9f29c2843e299694f6fcca48c549f5a4aa4e Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Wed, 6 Jun 2018 17:39:00 +0200 Subject: [PATCH] cmake: added missing include path when generating the dictionary. --- src/external/MagProximity/CMakeLists.txt | 5 ++++- src/external/libPhotoMeissner/classes/CMakeLists.txt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/external/MagProximity/CMakeLists.txt b/src/external/MagProximity/CMakeLists.txt index acac4032..8923f3cf 100644 --- a/src/external/MagProximity/CMakeLists.txt +++ b/src/external/MagProximity/CMakeLists.txt @@ -10,7 +10,10 @@ root_generate_dictionary( LINKDEF PMagProximityFitterLinkDef.h ) root_generate_dictionary( - PMPStartupHandlerDict PMPStartupHandler.h LINKDEF PMPStartupHandlerLinkDef.h + PMPStartupHandlerDict + -I${MUSRFIT_INC} + PMPStartupHandler.h + LINKDEF PMPStartupHandlerLinkDef.h ) #--- create pkg-config info --------------------------------------------------- diff --git a/src/external/libPhotoMeissner/classes/CMakeLists.txt b/src/external/libPhotoMeissner/classes/CMakeLists.txt index 80d284a2..99fecd68 100644 --- a/src/external/libPhotoMeissner/classes/CMakeLists.txt +++ b/src/external/libPhotoMeissner/classes/CMakeLists.txt @@ -13,6 +13,7 @@ root_generate_dictionary( ) root_generate_dictionary( PStartupHandler_PMDict + -I${MUSRFIT_INC} -I${CMAKE_CURRENT_SOURCE_DIR}/../include PStartupHandler_PM.h LINKDEF ${CMAKE_CURRENT_SOURCE_DIR}/../include/PStartupHandler_PMLinkDef.h