diff --git a/cmake/jkqtplotter_common_compilersettings.cmake b/cmake/jkqtplotter_common_compilersettings.cmake index 1b54a838df..e2a3099975 100644 --- a/cmake/jkqtplotter_common_compilersettings.cmake +++ b/cmake/jkqtplotter_common_compilersettings.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.16) if(NOT APPLE) diff --git a/cmake/jkqtplotter_common_include.cmake b/cmake/jkqtplotter_common_include.cmake index 8fa600e54d..b8971621eb 100644 --- a/cmake/jkqtplotter_common_include.cmake +++ b/cmake/jkqtplotter_common_include.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.16) include(jkqtplotter_deployqt) -include(jkqtplotter_deployopencv) \ No newline at end of file +include(jkqtplotter_deployopencv) diff --git a/lib/jkqtcommon/CMakeLists.txt b/lib/jkqtcommon/CMakeLists.txt index 296d589013..d77eded018 100644 --- a/lib/jkqtcommon/CMakeLists.txt +++ b/lib/jkqtcommon/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.16) set(libBasename JKQTCommon) set(libIncludeSubdir jkqtcommon) diff --git a/lib/jkqtfastplotter/CMakeLists.txt b/lib/jkqtfastplotter/CMakeLists.txt index 3d21f00beb..fe58929ed5 100644 --- a/lib/jkqtfastplotter/CMakeLists.txt +++ b/lib/jkqtfastplotter/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.16) set(libBasename JKQTFastPlotter) set(libIncludeSubdir jkqtfastplotter) diff --git a/lib/jkqtmath/CMakeLists.txt b/lib/jkqtmath/CMakeLists.txt index 835b4e8cb2..ef09dff737 100644 --- a/lib/jkqtmath/CMakeLists.txt +++ b/lib/jkqtmath/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.16) set(libBasename JKQTMath) set(oldlibBasename JKQTCommonStatisticsAndMath) diff --git a/lib/jkqtmathtext/CMakeLists.txt b/lib/jkqtmathtext/CMakeLists.txt index a5befc17ab..54527a4b27 100644 --- a/lib/jkqtmathtext/CMakeLists.txt +++ b/lib/jkqtmathtext/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.16) set(libBasename JKQTMathText) set(libIncludeSubdir jkqtmathtext) diff --git a/lib/jkqtplotter/CMakeLists.txt b/lib/jkqtplotter/CMakeLists.txt index 73b873192b..241e784828 100644 --- a/lib/jkqtplotter/CMakeLists.txt +++ b/lib/jkqtplotter/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.16) set(libBasename JKQTPlotter) set(libIncludeSubdir jkqtplotter) @@ -208,6 +208,7 @@ function(JKQtPlottter_setDefaultLibOptions TARGETNAME) set_property(TARGET ${TARGETNAME} PROPERTY CXX_STANDARD ${JKQtPlotter_QT_CXX_STANDARD}) set_property(TARGET ${TARGETNAME} PROPERTY CXX_STANDARD_REQUIRED ${JKQtPlotter_QT_CXX_STANDARD_REQUIRED}) target_compile_features(${TARGETNAME} PUBLIC ${JKQtPlotter_QT_CXX_COMPILE_FEATURE}) + #target_compile_definitions(${TARGETNAME} PRIVATE JKQTBP_AUTOTIMER) if(MINGW) # COMPILER-SETTINGS FOR MINGW