Skip to content

Commit

Permalink
Suppress CMake warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gavv committed Nov 19, 2023
1 parent 8d57f21 commit 90662c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
cmake_minimum_required(VERSION 3.0.0)
if((CMAKE_MAJOR_VERSION EQUAL 3) AND (CMAKE_MINOR_VERSION LESS 5))
cmake_minimum_required(VERSION 3.0)
else()
cmake_minimum_required(VERSION 3.5)
endif()

if((CMAKE_MAJOR_VERSION GREATER 3) OR
((CMAKE_MAJOR_VERSION EQUAL 3) AND NOT (CMAKE_MINOR_VERSION LESS 24)))
Expand Down

0 comments on commit 90662c5

Please sign in to comment.