diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 0ce2d875..de84b9a8 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.5) - # find dependencies if(${projectPrefix}BUILD_CXX_MODULES) add_library(example_utils INTERFACE) diff --git a/example/glide_computer_lib/CMakeLists.txt b/example/glide_computer_lib/CMakeLists.txt index 1ba6febd..54124f1a 100644 --- a/example/glide_computer_lib/CMakeLists.txt +++ b/example/glide_computer_lib/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.5) - add_library(glide_computer_lib-headers STATIC glide_computer_lib.cpp include/glide_computer_lib.h) target_compile_features(glide_computer_lib-headers PUBLIC cxx_std_20) target_link_libraries(glide_computer_lib-headers PUBLIC mp-units::mp-units example_utils-headers) diff --git a/example/kalman_filter/CMakeLists.txt b/example/kalman_filter/CMakeLists.txt index d1d1a6c8..26e827c5 100644 --- a/example/kalman_filter/CMakeLists.txt +++ b/example/kalman_filter/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.5) - add_example(kalman_filter-example_1) add_example(kalman_filter-example_2) add_example(kalman_filter-example_3) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 448c5219..ce9b96fd 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.23) - function(set_feature_flag name) if(NOT ${projectPrefix}${name} STREQUAL "AUTO") target_compile_definitions( diff --git a/src/systems/CMakeLists.txt b/src/systems/CMakeLists.txt index 0cac8872..1d7681bc 100644 --- a/src/systems/CMakeLists.txt +++ b/src/systems/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.23) - add_mp_units_module( systems mp-units-systems DEPENDENCIES mp-units::core diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index cdc5120d..0d20551e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.5) - if(NOT ${projectPrefix}API_FREESTANDING) add_subdirectory(runtime) endif() diff --git a/test/runtime/CMakeLists.txt b/test/runtime/CMakeLists.txt index 30c37995..0be597b3 100644 --- a/test/runtime/CMakeLists.txt +++ b/test/runtime/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.5) - find_package(Catch2 3 REQUIRED) add_executable( diff --git a/test/static/CMakeLists.txt b/test/static/CMakeLists.txt index 584e7a23..2d8b5f67 100644 --- a/test/static/CMakeLists.txt +++ b/test/static/CMakeLists.txt @@ -20,8 +20,6 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.5) - add_library(unit_tests_static_truncating quantity_test.cpp) target_link_libraries(unit_tests_static_truncating PRIVATE mp-units::mp-units) target_compile_options( diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt index 12ef88bd..a9d51d8b 100644 --- a/test_package/CMakeLists.txt +++ b/test_package/CMakeLists.txt @@ -20,7 +20,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION 3.23) project(test_package LANGUAGES CXX) find_package(mp-units REQUIRED)