cmake: set the minimum version before the project call

This commit is contained in:
Ben Boeckel 2018-01-18 10:43:05 -05:00
parent 195494186e
commit 0df7adb680

View file

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