summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-14 23:06:32 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-14 23:06:32 -0700
commit52da6f71d0927d69a42ee3776bc1495cd4bf90b6 (patch)
tree79e3490bbb9fb15c54562daf7e1b6892da089d99
parent38edf255aee473ade74d955faa79e4f7a5c38eb1 (diff)
Increase the minimum CMake version to 2.8.12
This is a followup to 198900eff403982f080958459f1ccb45cdefe9a4. target_include_directories was introduced in 2.8.12, thus CMake 2.6 no longer works.
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a1169b..855045c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
project(pugixml)
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 2.8.12)
option(BUILD_SHARED_LIBS "Build shared instead of static library" OFF)
option(BUILD_TESTS "Build tests" OFF)
@@ -79,4 +79,4 @@ if(BUILD_TESTS)
add_executable(check ${TEST_SOURCES})
target_link_libraries(check pugixml)
add_custom_command(TARGET check POST_BUILD COMMAND check WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
-endif() \ No newline at end of file
+endif()