Skip to content

Commit 777008a

Browse files
committed
should greater or equal, d'oh
1 parent 9f92e43 commit 777008a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake_files/dependencies.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ endif()
1919

2020
find_package(CFitsIO REQUIRED)
2121

22-
if(CMAKE_VERSION VERSION_GREATER "3.29.0")
22+
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.29.0")
2323
cmake_policy(SET CMP0167 NEW)
2424
endif()
2525
find_package(Boost COMPONENTS system filesystem REQUIRED)
@@ -52,7 +52,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
5252
endif()
5353

5454
if(docs)
55-
if(CMAKE_VERSION VERSION_GREATER "3.3.0")
55+
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.3.0")
5656
cmake_policy(SET CMP0057 NEW)
5757
endif()
5858
find_package(Doxygen REQUIRED dot)
@@ -79,7 +79,7 @@ endif()
7979

8080
# Always find open-mp, since it may be used by sopt
8181
if (openmp)
82-
if(CMAKE_VERSION VERSION_GREATER "3.12.0")
82+
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.12.0")
8383
cmake_policy(SET CMP0074 NEW)
8484
endif()
8585
find_package(OpenMP)

0 commit comments

Comments
 (0)