From 2f39af40859b14f1ebaeed17b38bc6f97b15ec8a Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Wed, 10 Jan 2024 10:34:07 -0600 Subject: [PATCH] misc --- example/core_tutorial/13_hdf5_output_advanced/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/core_tutorial/13_hdf5_output_advanced/CMakeLists.txt b/example/core_tutorial/13_hdf5_output_advanced/CMakeLists.txt index 8297d9733..dc874a39d 100644 --- a/example/core_tutorial/13_hdf5_output_advanced/CMakeLists.txt +++ b/example/core_tutorial/13_hdf5_output_advanced/CMakeLists.txt @@ -10,8 +10,8 @@ ############################################################################ add_executable(AdvancedHDF5Output advanced_hdf5_output_example.cpp) -target_link_libraries(AdvancedHDF5Output cabanacore) -get_filename_component(HDF5_BIN_DIR ${HDF5_C_COMPILER_EXECUTABLE} DIRECTORY) +target_link_libraries(AdvancedHDF5Output Cabana::Core) +set(HDF5_BIN_DIR ${HDF5_ROOT}/bin) if(EXISTS ${HDF5_BIN_DIR}/h5fuse.sh) file(COPY ${HDF5_BIN_DIR}/h5fuse.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) elseif(EXISTS ${HDF5_BIN_DIR}/h5fuse)