Skip to content

Commit

Permalink
Merge pull request #621 from jrl-umi3218/cmake-3.10-policies
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet authored Sep 20, 2023
2 parents 9924c7e + 7ba9e2c commit e1a7152
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,11 @@
# ------
#

if(${CMAKE_VERSION} VERSION_LESS 3.10)
message(FATAL_ERROR "JRL-CMakemodules require CMake >= 3.10")
if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 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 e1a7152

Please sign in to comment.