From 9f28e037feb5fb7f10c731f7dc05aa8ea9465125 Mon Sep 17 00:00:00 2001 From: evpobr Date: Sat, 20 Aug 2016 22:37:53 +0500 Subject: [PATCH] Move cmake_minimum_required at the top --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.40.0