diff --git a/src/external/DepthProfile/src/CMakeLists.txt b/src/external/DepthProfile/src/CMakeLists.txt
index 9e3562fcda8c26e6443ac0ce08506c357375b87b..acb37fbbd5d36e5f40c71943062f9b69c161da1b 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(${MUSRFIT_INC})
 include_directories(${DEPTH_PROFILE_INC})
 
 root_generate_dictionary(