vcpkg/ports/x265/disable-install-pdb.patch
2018-02-27 10:36:28 -08:00

14 lines
633 B
Diff

diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index e6d49c6..2409caa 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -546,7 +546,7 @@ if(ENABLE_HDR10_PLUS)
ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
endif()
install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION include)
-if(WIN32)
+if(WIN32 AND 0)
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)