diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-04-13 19:11:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-13 19:11:35 (GMT) |
commit | 1c03b7d687f4834f2c32b1bf069ab1f6d25ee326 (patch) | |
tree | 36f4bfd02e4d63d18697be23fb039401f76925f7 /config/cmake/HDFMacros.cmake | |
parent | 18b8534174fcdd5b839025b5eb5ec1b4e21f370c (diff) | |
download | hdf5-1c03b7d687f4834f2c32b1bf069ab1f6d25ee326.zip hdf5-1c03b7d687f4834f2c32b1bf069ab1f6d25ee326.tar.gz hdf5-1c03b7d687f4834f2c32b1bf069ab1f6d25ee326.tar.bz2 |
Fix java depends and pdb lib install (#2720)
* Fix java depends and pdb lib install
* Correct end of for loop depends
* fix location of set last_test
Diffstat (limited to 'config/cmake/HDFMacros.cmake')
-rw-r--r-- | config/cmake/HDFMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDFMacros.cmake b/config/cmake/HDFMacros.cmake index 71454b6..5ac7316 100644 --- a/config/cmake/HDFMacros.cmake +++ b/config/cmake/HDFMacros.cmake @@ -77,7 +77,7 @@ macro (INSTALL_TARGET_PDB libtarget targetdestination targetcomponent) mark_as_advanced (DISABLE_PDB_FILES) if (WIN32 AND MSVC AND NOT DISABLE_PDB_FILES) get_target_property (target_type ${libtarget} TYPE) - if (${libtype} MATCHES "SHARED") + if (${target_type} MATCHES "SHARED") set (targetfilename $<TARGET_PDB_FILE:${libtarget}>) else () get_property (target_name TARGET ${libtarget} PROPERTY $<IF:$<OR:$<CONFIG:Debug>,$<CONFIG:Developer>>,OUTPUT_NAME_DEBUG,OUTPUT_NAME_RELWITHDEBINFO>) |