aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qca/0004-fix-cmake4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qca/0004-fix-cmake4.patch')
-rw-r--r--vcpkg/ports/qca/0004-fix-cmake4.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/qca/0004-fix-cmake4.patch b/vcpkg/ports/qca/0004-fix-cmake4.patch
new file mode 100644
index 0000000..747bc9c
--- /dev/null
+++ b/vcpkg/ports/qca/0004-fix-cmake4.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7a1680f..9a70ccd 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -15,10 +15,6 @@ set(QCA_LIB_MAJOR_VERSION "2")
+ set(QCA_LIB_MINOR_VERSION "3")
+ set(QCA_LIB_PATCH_VERSION "7")
+
+-if(POLICY CMP0042)
+- cmake_policy(SET CMP0042 OLD)
+-endif()
+-
+ option(BUILD_WITH_QT6 "Build with Qt 6" OFF)
+ option(BUILD_TESTS "Create test" ON)
+ option(BUILD_TOOLS "Compile mozcerts and qcatool" ON)