HDFFV-10424 add optional variable to avoid PDB installs

This commit is contained in:
Allen Byrne
2019-07-17 10:42:58 -05:00
parent bdd54d0147
commit 6e4f2798e8
2 changed files with 10 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ endmacro ()
#-------------------------------------------------------------------------------
macro (INSTALL_TARGET_PDB libtarget targetdestination targetcomponent)
if (WIN32 AND MSVC)
if (WIN32 AND MSVC AND NOT DISABLE_PDB_FILES)
get_target_property (target_type ${libtarget} TYPE)
if (${libtype} MATCHES "SHARED")
set (targetfilename $<TARGET_PDB_FILE:${libtarget}>)