bump required cmake version to 3.16 consistently

This commit is contained in:
jkriege2 2024-01-06 15:37:59 +01:00
parent 9662ed2d69
commit 6607432af0
7 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.16)
if(NOT APPLE)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.16)
include(jkqtplotter_deployqt)
include(jkqtplotter_deployopencv)
include(jkqtplotter_deployopencv)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.16)
set(libBasename JKQTCommon)
set(libIncludeSubdir jkqtcommon)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.16)
set(libBasename JKQTFastPlotter)
set(libIncludeSubdir jkqtfastplotter)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.16)
set(libBasename JKQTMath)
set(oldlibBasename JKQTCommonStatisticsAndMath)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.16)
set(libBasename JKQTMathText)
set(libIncludeSubdir jkqtmathtext)

View File

@ -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