summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-02-01 17:15:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-02-01 17:15:38 (GMT)
commit7b85399dffbdf3cfcc704f848208c38c28c107fe (patch)
treea1be33c329e018767bc37fc34abc51403025a370 /config/cmake_ext_mod
parente4b568fffc8d940f839664058d515208c0497cdc (diff)
downloadhdf5-7b85399dffbdf3cfcc704f848208c38c28c107fe.zip
hdf5-7b85399dffbdf3cfcc704f848208c38c28c107fe.tar.gz
hdf5-7b85399dffbdf3cfcc704f848208c38c28c107fe.tar.bz2
HDFFV-10123 Add SHARED tools
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r--config/cmake_ext_mod/HDFMacros.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake
index 67a92d1..ec3934d 100644
--- a/config/cmake_ext_mod/HDFMacros.cmake
+++ b/config/cmake_ext_mod/HDFMacros.cmake
@@ -59,10 +59,9 @@ endmacro ()
macro (INSTALL_PROGRAM_PDB progtarget targetdestination targetcomponent)
if (WIN32 AND MSVC)
get_target_property (target_name ${progtarget} OUTPUT_NAME_RELWITHDEBINFO)
- get_target_property (target_prefix ${progtarget} PREFIX)
install (
FILES
- ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE}/${target_prefix}${target_name}.pdb
+ ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE}/${target_name}.pdb
DESTINATION
${targetdestination}
CONFIGURATIONS RelWithDebInfo