mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
HDFFV-10845 quote multiple strings in cmake link command
This commit is contained in:
parent
0a9180c074
commit
17474a232f
@ -114,7 +114,7 @@ if (BUILD_SHARED_LIBS)
|
||||
TARGET_C_PROPERTIES (${HDF5_CPP_LIBSH_TARGET} SHARED)
|
||||
target_link_libraries (${HDF5_CPP_LIBSH_TARGET}
|
||||
PUBLIC ${HDF5_LIBSH_TARGET}
|
||||
PRIVATE $<$<PLATFORM_ID:MinGW>:-static -static-libgcc -static-libstdc++ -dynamic>
|
||||
PRIVATE "$<$<PLATFORM_ID:MinGW>:-static -static-libgcc -static-libstdc++ -dynamic>"
|
||||
)
|
||||
set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_CPP_LIBSH_TARGET}")
|
||||
H5_SET_LIB_OPTIONS (${HDF5_CPP_LIBSH_TARGET} ${HDF5_CPP_LIB_NAME} SHARED "CXX")
|
||||
|
Loading…
x
Reference in New Issue
Block a user