HDFFV-9875 Change test for shared libs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user