mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[libpng] CMakeLists.txt: Fix PDB installation.
PNG_LIB_NAME was removed from CMakeLists.txt in v1.6.40, which was added in rom-properties 2.2. No one seems to have noticed its absence, though... Affects: v2.2 - v2.4.1
This commit is contained in:
parent
8b17f8c5c5
commit
301c895d33
4
extlib/libpng/CMakeLists.txt
vendored
4
extlib/libpng/CMakeLists.txt
vendored
@ -1064,8 +1064,8 @@ if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
|
||||
# FIXME: Generator PDB expression doesn't have the debug postfix for some reason,
|
||||
# so cpack fails in debug builds if we get the PDB property.
|
||||
INCLUDE(DirInstallPaths)
|
||||
SET(PDB_FILENAME_D "$<TARGET_FILE_DIR:png_shared>/lib${PNG_LIB_NAME}${CMAKE_DEBUG_POSTFIX}.pdb")
|
||||
SET(PDB_FILENAME_R "$<TARGET_FILE_DIR:png_shared>/lib${PNG_LIB_NAME}${CMAKE_RELEASE_POSTFIX}.pdb")
|
||||
SET(PDB_FILENAME_D "$<TARGET_FILE_DIR:png_shared>/libpng${PNGLIB_MAJOR}${PNGLIB_MINOR}${CMAKE_DEBUG_POSTFIX}.pdb")
|
||||
SET(PDB_FILENAME_R "$<TARGET_FILE_DIR:png_shared>/libpng${PNGLIB_MAJOR}${PNGLIB_MINOR}${CMAKE_RELEASE_POSTFIX}.pdb")
|
||||
INSTALL(FILES "${PDB_FILENAME_D}" "${PDB_FILENAME_R}"
|
||||
DESTINATION "${DIR_INSTALL_DLL_DEBUG}"
|
||||
COMPONENT "debug"
|
||||
|
Loading…
Reference in New Issue
Block a user