From ad8bedebd7c6da84c74e7277c7e3603d343846e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Sat, 28 Dec 2019 10:46:13 +0100 Subject: [PATCH] Update cmake_minimum_required VERSION (#2457) When tests are built, the minimum required cmake version is 3.4. The file test/CMakeLists.txt uses cmake_policy(SET CMP0064 NEW), which requires cmake 3.4 [1]. [1] https://cmake.org/cmake/help/v3.4/policy/CMP0064.html --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 9d3bbdd03..4bb78640a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,5 +1,6 @@ if (BUILD_TESTS) + cmake_minimum_required(VERSION 3.4) # cmake_policy(SET CMP0064 NEW) cmake_policy(SET CMP0064 NEW) cmake_policy(SET CMP0057 NEW)