Skip to content

Commit

Permalink
Bump cmake_minimum_required version to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Tessil committed Sep 22, 2024
1 parent 611bdcc commit 25fdf35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.8)

project(tsl_hat_trie)

Expand All @@ -15,8 +15,4 @@ target_sources(tsl_hat_trie INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include/tsl/a
"${CMAKE_CURRENT_SOURCE_DIR}/include/tsl/htrie_map.h"
"${CMAKE_CURRENT_SOURCE_DIR}/include/tsl/htrie_set.h")


if(${CMAKE_VERSION} VERSION_GREATER "3.7")
# Only available since version 3.8
target_compile_features(tsl_hat_trie INTERFACE cxx_std_11)
endif()
target_compile_features(tsl_hat_trie INTERFACE cxx_std_11)
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.8)

project(tsl_hat_trie_tests)

Expand Down

0 comments on commit 25fdf35

Please sign in to comment.