aboutsummaryrefslogtreecommitdiff
path: root/ports/x265/disable-install-pdb.patch
diff options
context:
space:
mode:
authorJosé de Jesús Medina Ríos <dgizmo6@gmail.com>2019-01-14 22:49:43 -0800
committerJosé de Jesús Medina Ríos <dgizmo6@gmail.com>2019-01-14 22:49:43 -0800
commitb4badcd56ae16129cf1faa2728c367b8cd035959 (patch)
tree6c39d9c34be7d95e418acb3d5a0bb2c5f6be4b82 /ports/x265/disable-install-pdb.patch
parente86780d75ffb4476f58c725d40e2456eb503b766 (diff)
downloadvcpkg-b4badcd56ae16129cf1faa2728c367b8cd035959.tar.gz
vcpkg-b4badcd56ae16129cf1faa2728c367b8cd035959.zip
[x265] update to version 2.9
Diffstat (limited to 'ports/x265/disable-install-pdb.patch')
-rw-r--r--ports/x265/disable-install-pdb.patch25
1 files changed, 17 insertions, 8 deletions
diff --git a/ports/x265/disable-install-pdb.patch b/ports/x265/disable-install-pdb.patch
index 4601f2728..1b58d287c 100644
--- a/ports/x265/disable-install-pdb.patch
+++ b/ports/x265/disable-install-pdb.patch
@@ -1,13 +1,22 @@
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
-index e6d49c6..2409caa 100644
+index 33b6523..06e3193 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
-@@ -546,7 +546,7 @@ if(ENABLE_HDR10_PLUS)
- ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
- endif()
+@@ -556,13 +556,13 @@ endif()
install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION include)
--if(WIN32)
-+if(WIN32 AND 0)
+ if((WIN32 AND ENABLE_CLI) OR (WIN32 AND ENABLE_SHARED))
if(MSVC_IDE)
- install(FILES "${PROJECT_BINARY_DIR}/Debug/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
- install(FILES "${PROJECT_BINARY_DIR}/RelWithDebInfo/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
+- install(FILES "${PROJECT_BINARY_DIR}/Debug/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
+- install(FILES "${PROJECT_BINARY_DIR}/RelWithDebInfo/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
++ #install(FILES "${PROJECT_BINARY_DIR}/Debug/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
++ #install(FILES "${PROJECT_BINARY_DIR}/RelWithDebInfo/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
+ install(FILES "${PROJECT_BINARY_DIR}/Debug/libx265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug OPTIONAL NAMELINK_ONLY)
+ install(FILES "${PROJECT_BINARY_DIR}/RelWithDebInfo/libx265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo OPTIONAL NAMELINK_ONLY)
+ else()
+- install(FILES "${PROJECT_BINARY_DIR}/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
+- install(FILES "${PROJECT_BINARY_DIR}/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
++ #install(FILES "${PROJECT_BINARY_DIR}/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
++ #install(FILES "${PROJECT_BINARY_DIR}/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
+ install(FILES "${PROJECT_BINARY_DIR}/libx265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug OPTIONAL NAMELINK_ONLY)
+ install(FILES "${PROJECT_BINARY_DIR}/libx265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo OPTIONAL NAMELINK_ONLY)
+ endif()