mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
HDFFV-9875 Change test for shared libs
This commit is contained in:
parent
b477d8142a
commit
fb587185a2
@ -44,11 +44,11 @@ endmacro ()
|
||||
macro (INSTALL_TARGET_PDB libtarget targetdestination targetcomponent)
|
||||
if (WIN32 AND MSVC)
|
||||
get_target_property (target_type ${libtarget} TYPE)
|
||||
if (target_type MATCHES "STATIC_LIBRARY")
|
||||
if (${libtype} MATCHES "SHARED")
|
||||
set (targetfilename $<TARGET_PDB_FILE:${libtarget}>)
|
||||
else ()
|
||||
get_property (target_name TARGET ${libtarget} PROPERTY OUTPUT_NAME_RELWITHDEBINFO)
|
||||
set (targetfilename $<TARGET_FILE_DIR:${libtarget}>/${target_name}.pdb)
|
||||
else ()
|
||||
set (targetfilename $<TARGET_PDB_FILE:${libtarget}>)
|
||||
endif ()
|
||||
install (
|
||||
FILES
|
||||
|
Loading…
Reference in New Issue
Block a user