1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
--- a/cmake/generate-cpp.cmake
+++ b/cmake/generate-cpp.cmake
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.2)
+cmake_minimum_required (VERSION 3.5)
# generate nlopt.hpp from nlopt-in.hpp
file (WRITE ${CMAKE_CURRENT_BINARY_DIR}/nlopt.hpp "")
--- a/cmake/generate-fortran.cmake
+++ b/cmake/generate-fortran.cmake
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.2)
+cmake_minimum_required (VERSION 3.5)
# generate nlopt.f from nlopt.h enums
file (WRITE ${CMAKE_CURRENT_BINARY_DIR}/nlopt.f "")
|