Commit 3c9e67a8 authored by Casey Goodlett's avatar Casey Goodlett

Skip install of .pdb files for hdf5 on windows

This failed at least in configuration RelWithDebInfo due to a mismatch
between the expected location of the .pdb file and the actual.  No
other parts of VTK install the .pdb files, so removing the install of
the hdf5 .pdb files for consistency.

Change-Id: I0227678c9687cc9ff335653fb04784788b46fae3
parent cdbec3e4
......@@ -46,14 +46,14 @@ ENDMACRO (TARGET_NAMING)
MACRO (INSTALL_TARGET_PDB libtarget targetdestination targetcomponent)
if (WIN32 AND MSVC)
get_target_property (target_name ${libtarget} RELWITHDEBINFO_OUTPUT_NAME)
install (
FILES
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE}/${CMAKE_IMPORT_LIBRARY_PREFIX}${target_name}.pdb
DESTINATION
${targetdestination}
CONFIGURATIONS RelWithDebInfo
COMPONENT ${targetcomponent}
)
# install (
# FILES
# ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE}/${CMAKE_IMPORT_LIBRARY_PREFIX}${target_name}.pdb
# DESTINATION
# ${targetdestination}
# CONFIGURATIONS RelWithDebInfo
# COMPONENT ${targetcomponent}
# )
endif (WIN32 AND MSVC)
ENDMACRO (INSTALL_TARGET_PDB)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment