Skip to content

Commit

Permalink
CMake >= 3.10: ask the end user to enforce this
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Sep 19, 2023
1 parent 113cfc7 commit 7ba9e2c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@
#

if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 3.10)
cmake_minimum_required(VERSION 3.10)
message(
FATAL_ERROR
"JRL-CMakemodules require CMake >= 3.10. Please update your main 'cmake_minimum_required'"
)
endif()

set(PROJECT_JRL_CMAKE_MODULE_DIR
Expand Down

0 comments on commit 7ba9e2c

Please sign in to comment.