diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-17 16:00:36 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-17 16:00:36 (GMT) |
commit | 6add0919d1dd737a7d9a2da25079d761a85f282e (patch) | |
tree | 659b915939cc81b4f564df5d84a9b7c20d26f009 /config/cmake_ext_mod/HDFMacros.cmake | |
parent | bdd54d014724da9cb664f30724841c2e9ffb5f7f (diff) | |
parent | 6e4f2798e883a88de7126739307722f6da39dd98 (diff) | |
download | hdf5-6add0919d1dd737a7d9a2da25079d761a85f282e.zip hdf5-6add0919d1dd737a7d9a2da25079d761a85f282e.tar.gz hdf5-6add0919d1dd737a7d9a2da25079d761a85f282e.tar.bz2 |
Merge pull request #1805 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit '6e4f2798e883a88de7126739307722f6da39dd98':
HDFFV-10424 add optional variable to avoid PDB installs
Diffstat (limited to 'config/cmake_ext_mod/HDFMacros.cmake')
-rw-r--r-- | config/cmake_ext_mod/HDFMacros.cmake | 2 |
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}>) |