diff --git a/core/src/CMakeLists.txt b/core/src/CMakeLists.txt index 3eadb0571..dfb5c2945 100644 --- a/core/src/CMakeLists.txt +++ b/core/src/CMakeLists.txt @@ -103,7 +103,7 @@ target_include_directories(Core INTERFACE $ ) if(Cabana_ENABLE_HDF5) - target_include_directories(cabanacore INTERFACE + target_include_directories(Core INTERFACE ${HDF5_INCLUDE_DIRS} # FIXME: remove when requiring newer CMake ) endif()