maybe public will work?

This commit is contained in:
Kyle Shores 2024-02-13 16:50:19 -06:00
parent d7e26cad6b
commit e818f93a48

View File

@ -28,7 +28,7 @@ if(STATUS_PARALLEL)
target_link_libraries(netcdfhdf5 PUBLIC MPI::MPI_C) target_link_libraries(netcdfhdf5 PUBLIC MPI::MPI_C)
endif(STATUS_PARALLEL) endif(STATUS_PARALLEL)
target_include_directories(netcdfhdf5 PRIVATE ${HDF5_INCLUDE_DIR}) target_include_directories(netcdfhdf5 PUBLIC ${HDF5_INCLUDE_DIR})
# Remember to package this file for CMake builds. # Remember to package this file for CMake builds.
add_extra_dist(${libnchdf5_SOURCES} CMakeLists.txt) add_extra_dist(${libnchdf5_SOURCES} CMakeLists.txt)