commit 613437de751871cea32546395357380b1c20d314
parent 22988b2c2f8cd60a5fa58d66113aa6351552a31a
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 19 Oct 2021 14:50:34 +0200
Set CMake minimum version to 3.1
CMake 2.8 is obsolete
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 |Meso|Star> (contact@meso-star.com)
+# Copyright (C) |Meso|Star> 2016 (contact@meso-star.com)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.1)
project(scpr C CXX)
enable_testing()
diff --git a/cmake/ClipperConfig.cmake b/cmake/ClipperConfig.cmake
@@ -29,7 +29,7 @@
# The fact that you are presently reading this means that you have had
# knowledge of the CeCILL license and that you accept its terms.
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.1)
# Try to find the Clipper devel. Once done this will define:
# - Clipper_FOUND: system has Clipper
@@ -56,8 +56,8 @@ else(CMAKE_HOST_WIN32)
if(NOT Clipper_LIBRARY_DEBUG) # Fallback lib
get_property(_doc CACHE Clipper_LIBRARY_DEBUG PROPERTY HELPSTRING)
set(Clipper_LIBRARY_DEBUG ${Clipper_LIBRARY} CACHE PATH ${_doc} FORCE)
- endif(NOT Clipper_LIBRARY_DEBUG)
-endif(CMAKE_HOST_WIN32)
+ endif()
+endif()
add_library(Clipper SHARED IMPORTED)
set_target_properties(Clipper PROPERTIES