aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/x265/disable-install-pdb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/x265/disable-install-pdb.patch')
-rw-r--r--vcpkg/ports/x265/disable-install-pdb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/x265/disable-install-pdb.patch b/vcpkg/ports/x265/disable-install-pdb.patch
new file mode 100644
index 0000000..b7eec63
--- /dev/null
+++ b/vcpkg/ports/x265/disable-install-pdb.patch
@@ -0,0 +1,13 @@
+diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
+index 6183a6d..eaa5c6f 100644
+--- a/source/CMakeLists.txt
++++ b/source/CMakeLists.txt
+@@ -842,7 +842,7 @@ if(SVTHEVC_FOUND)
+ endif()
+
+ install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION include)
+-if((WIN32 AND ENABLE_CLI) OR (WIN32 AND ENABLE_SHARED))
++if(0)
+ if(MSVC_IDE)
+ if(ENABLE_CLI)
+ install(FILES "${PROJECT_BINARY_DIR}/Debug/x265.pdb" DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)