diff libfdproto/CMakeLists.txt @ 1560:9084c6f94a0a

Require cmake 2.8.12 (from 2013) since current cmake warns about older versions. Remove policy check for CMP0022. The variable INTERFACE_LINK_LIBRARIES it affects is not used.
author Thomas Klausner <wiz@gatalith.at>
date Wed, 16 Jun 2021 18:05:27 +0200
parents ecb844d6d87d
children 699c3fb0c57b
line wrap: on
line diff
--- a/libfdproto/CMakeLists.txt	Tue Oct 27 10:50:04 2020 +0100
+++ b/libfdproto/CMakeLists.txt	Wed Jun 16 18:05:27 2021 +0200
@@ -2,10 +2,7 @@
 Project("libfdproto" C)
 
 # Configuration for newer cmake
-cmake_policy(VERSION 2.6)
-if (POLICY CMP0022)
-	cmake_policy(SET CMP0022 OLD)
-endif (POLICY CMP0022)
+cmake_policy(VERSION 2.8.12)
 
 # List of source files for the library
 SET(LFDPROTO_SRC
"Welcome to our mercurial repository"