mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
H5detect and H5make_libsettings need include folder
This commit is contained in:
parent
930a0b5d7c
commit
4a15b32a42
@ -849,6 +849,9 @@ endif ()
|
||||
#-----------------------------------------------------------------------------
|
||||
add_executable (H5detect ${HDF5_SRC_DIR}/H5detect.c)
|
||||
TARGET_C_PROPERTIES (H5detect STATIC " " " ")
|
||||
if (H5_HAVE_PARALLEL AND MPI_C_FOUND)
|
||||
target_include_directories (H5detect PUBLIC ${MPI_C_INCLUDE_DIRS})
|
||||
endif ()
|
||||
if (MSVC OR MINGW)
|
||||
target_link_libraries (H5detect "ws2_32.lib")
|
||||
endif ()
|
||||
@ -863,6 +866,9 @@ add_custom_command (
|
||||
|
||||
add_executable (H5make_libsettings ${HDF5_SRC_DIR}/H5make_libsettings.c)
|
||||
TARGET_C_PROPERTIES (H5make_libsettings STATIC " " " ")
|
||||
if (H5_HAVE_PARALLEL AND MPI_C_FOUND)
|
||||
target_include_directories (H5make_libsettings PUBLIC ${MPI_C_INCLUDE_DIRS})
|
||||
endif ()
|
||||
if (MSVC OR MINGW)
|
||||
target_link_libraries (H5make_libsettings "ws2_32.lib")
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user