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
This commit is contained in:
Wolfgang Stöggl 2019-12-28 10:46:13 +01:00 committed by Daniel Marjamäki
parent ab2e87191f
commit ad8bedebd7
1 changed files with 1 additions and 0 deletions

View File

@ -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)