diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-18 10:43:05 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-29 13:50:30 -0500 |
commit | 0df7adb6804a13dd68a349eb5603b9def109f385 (patch) | |
tree | 19545aae4feb094992eb108d392176c6edc4bd3d | |
parent | 195494186e18b6c9bb257fb44ce27019c398758d (diff) |
cmake: set the minimum version before the project call
-rw-r--r-- | CMakeLists.txt | 4 |
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) |