diff --git a/CMakeLists.txt b/CMakeLists.txt index 66b1804af..916f9df32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) # Set the version number for the library set (GTSAM_VERSION_MAJOR 4) diff --git a/cmake/example_cmake_find_gtsam/CMakeLists.txt b/cmake/example_cmake_find_gtsam/CMakeLists.txt index d020f7032..05216d3f3 100644 --- a/cmake/example_cmake_find_gtsam/CMakeLists.txt +++ b/cmake/example_cmake_find_gtsam/CMakeLists.txt @@ -1,7 +1,7 @@ # This file shows how to build and link a user project against GTSAM using CMake ################################################################################### # To create your own project, replace "example" with the actual name of your project -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) project(example CXX) # Find GTSAM, either from a local build, or from a Debian/Ubuntu package.