From d25fbccc9fba7cfde5cb2e129968409f0cddbd48 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 24 Oct 2020 15:40:15 +0200 Subject: [PATCH] Set minimum CMake version to 3.6. IMPORTED_TARGET from FindPkgConfig was introduced in 3.6. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf39af7..edfa9d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -# Support version 3.2 and above, but use policy settings up to 3.14. -cmake_minimum_required(VERSION 3.2...3.14) +# Support version 3.6 and above, but use policy settings up to 3.17. +cmake_minimum_required(VERSION 3.6...3.17) # Ranges are supported from 3.12, set policy to current for < 3.12. if(${CMAKE_VERSION} VERSION_LESS 3.12) cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})