summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-07-17 15:42:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-07-17 15:42:58 (GMT)
commit6e4f2798e883a88de7126739307722f6da39dd98 (patch)
tree659b915939cc81b4f564df5d84a9b7c20d26f009 /config/cmake_ext_mod
parentbdd54d014724da9cb664f30724841c2e9ffb5f7f (diff)
downloadhdf5-6e4f2798e883a88de7126739307722f6da39dd98.zip
hdf5-6e4f2798e883a88de7126739307722f6da39dd98.tar.gz
hdf5-6e4f2798e883a88de7126739307722f6da39dd98.tar.bz2
HDFFV-10424 add optional variable to avoid PDB installs
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r--config/cmake_ext_mod/HDFMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake
index 52b96fc..0a4598d 100644
--- a/config/cmake_ext_mod/HDFMacros.cmake
+++ b/config/cmake_ext_mod/HDFMacros.cmake
@@ -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}>)