summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2018-01-18 10:43:05 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2018-01-29 13:50:30 -0500
commit0df7adb6804a13dd68a349eb5603b9def109f385 (patch)
tree19545aae4feb094992eb108d392176c6edc4bd3d /CMakeLists.txt
parent195494186e18b6c9bb257fb44ce27019c398758d (diff)
cmake: set the minimum version before the project call
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
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)