diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 71bb209d70167ecd5ef056c61350269667029930..1cb6a5137ee73833b39d0594215326e855decb60 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -39,6 +39,7 @@ if ( WALBERLA_BUILD_WITH_HALF_PRECISION_SUPPORT )
 endif ()
 
 target_link_libraries( core PUBLIC ${SERVICE_LIBS} )
+target_include_directories( core PUBLIC ${walberla_SOURCE_DIR}/src/ ${walberla_BINARY_DIR}/src/ )
 target_sources( core
       PRIVATE
          Abort.cpp
@@ -61,6 +62,7 @@ target_sources( core
          EndianIndependentSerialization.h
          Environment.h
          Filesystem.h
+         Format.hpp
          FunctionTraits.h
          GetPID.h
          Hostname.h