packages/manta-svn/cmake.patch

27 lines
931 B
Diff
Raw Normal View History

diff -ru trunk/CMakeLists.txt manta-svn/CMakeLists.txt
--- trunk/CMakeLists.txt 2022-07-19 21:53:49.859712765 +0200
+++ manta-svn/CMakeLists.txt 2022-07-19 22:30:32.266576976 +0200
@@ -8,6 +8,9 @@
# You need at least CMake version 2.4
cmake_minimum_required(VERSION 2.4)
+# Set older C++ standard
+SET(CMAKE_CXX_STANDARD 14)
+
# As of CMake 2.6 Policies were introduced in order to provide a mechanism for
# adding backwards compatibility one feature at a time.
diff -ru trunk/Image/CMakeLists.txt manta-svn/Image/CMakeLists.txt
--- trunk/Image/CMakeLists.txt 2022-07-19 22:53:06.776290555 +0200
+++ manta-svn/Image/CMakeLists.txt 2022-07-19 22:45:44.617527000 +0200
@@ -31,7 +31,7 @@
#############################################
# Look for ImageMagick++
-FIND_PACKAGE(ImageMagick COMPONENTS Magick++)
+FIND_PACKAGE(ImageMagick6 COMPONENTS Magick++)
IF (ImageMagick_Magick++_FOUND)
# Add the ImageMagick files