From 0df7adb6804a13dd68a349eb5603b9def109f385 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 18 Jan 2018 10:43:05 -0500 Subject: cmake: set the minimum version before the project call --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index dbae2f1..52a8f5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ -project(pugixml) - cmake_minimum_required(VERSION 2.8.12) +project(pugixml) + option(BUILD_SHARED_LIBS "Build shared instead of static library" OFF) option(BUILD_TESTS "Build tests" OFF) option(BUILD_PKGCONFIG "Build in PKGCONFIG mode" OFF) -- cgit v1.2.3