Skip to content

Commit

Permalink
Merge pull request #530 from NAThompson/cmake_min_version
Browse files Browse the repository at this point in the history
Update minimum cmake version to 3.5
  • Loading branch information
mpusz authored Dec 17, 2023
2 parents 06e7c04 + 267db9e commit 5b9718c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmake/ccache.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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.4)
cmake_minimum_required(VERSION 3.5)

macro(_enable_ccache_failed)
if(NOT _enable_ccache_QUIET)
Expand Down
2 changes: 1 addition & 1 deletion cmake/modern_project_structure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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.4)
cmake_minimum_required(VERSION 3.5)

function(ensure_entry_point)
if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
Expand Down
2 changes: 1 addition & 1 deletion example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.2)
cmake_minimum_required(VERSION 3.5)

add_library(example_utils INTERFACE)
target_include_directories(example_utils INTERFACE include)
Expand Down
2 changes: 1 addition & 1 deletion example/glide_computer_lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.2)
cmake_minimum_required(VERSION 3.5)

add_library(glide_computer_lib STATIC glide_computer_lib.cpp include/glide_computer_lib.h)
target_link_libraries(glide_computer_lib PRIVATE mp-units::core-fmt PUBLIC mp-units::si mp-units::utility example_utils)
Expand Down
2 changes: 1 addition & 1 deletion example/kalman_filter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.2)
cmake_minimum_required(VERSION 3.5)

#
# add_example(target <depependencies>...)
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.2)
cmake_minimum_required(VERSION 3.5)

add_subdirectory(unit_test/runtime)
add_subdirectory(unit_test/static)
Expand Down
2 changes: 1 addition & 1 deletion test/unit_test/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.2)
cmake_minimum_required(VERSION 3.5)

find_package(Catch2 3 CONFIG REQUIRED)

Expand Down
2 changes: 1 addition & 1 deletion test/unit_test/static/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.2)
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)
Expand Down

0 comments on commit 5b9718c

Please sign in to comment.