From: evpobr Date: Sat, 20 Aug 2016 17:37:53 +0000 (+0500) Subject: Move cmake_minimum_required at the top X-Git-Tag: v1.11.1~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f28e037feb5fb7f10c731f7dc05aa8ea9465125;p=taglib Move cmake_minimum_required at the top --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 298ee7e3..fb024720 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ -project(taglib) - cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR) +project(taglib) + if(NOT ${CMAKE_VERSION} VERSION_LESS 2.8.12) cmake_policy(SET CMP0022 OLD) endif()