contrib: gmp: Add a patch for fixing building for windows/arm64
[vlc.git] / contrib / src / x265 / win-skip-res.patch
1 diff -urN x265-orig/source/CMakeLists.txt x265/source/CMakeLists.txt
2 --- x265-orig/source/CMakeLists.txt     2017-12-14 10:04:53.932080387 +0000
3 +++ x265/source/CMakeLists.txt  2017-12-14 10:05:35.151167937 +0000
4 @@ -441,7 +441,7 @@
5      ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
6  install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION include)
7  
8 -if(CMAKE_RC_COMPILER)
9 +if(FALSE)
10      # The resource compiler does not need CFLAGS or macro defines. It
11      # often breaks them
12      string(REPLACE "<FLAGS>" "" CMAKE_RC_COMPILE_OBJECT "${CMAKE_RC_COMPILE_OBJECT}")