aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libsquish/cmake-version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libsquish/cmake-version.patch')
-rw-r--r--vcpkg/ports/libsquish/cmake-version.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/libsquish/cmake-version.patch b/vcpkg/ports/libsquish/cmake-version.patch
new file mode 100644
index 0000000..8dde416
--- /dev/null
+++ b/vcpkg/ports/libsquish/cmake-version.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a36e574..6f137d5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -9,9 +9,9 @@
+ # Unix and VS: SSE2 support is enabled by default
+ # use BUILD_SQUISH_WITH_SSE2 and BUILD_SQUISH_WITH_ALTIVEC to override
+
+-PROJECT(squish)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3)
++PROJECT(squish)
+
+ OPTION(BUILD_SQUISH_WITH_OPENMP "Build with OpenMP." ON)
+