Skip to content

Commit

Permalink
do not downgrade CMAKE_MINIMUM_REQUIRED_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Sep 19, 2023
1 parent 80a6c08 commit 113cfc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@
# ------
#

cmake_minimum_required(VERSION 3.10)
if(CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 3.10)
cmake_minimum_required(VERSION 3.10)
endif()

set(PROJECT_JRL_CMAKE_MODULE_DIR
${CMAKE_CURRENT_LIST_DIR}
Expand Down

0 comments on commit 113cfc7

Please sign in to comment.