Skip to content

Commit ff08555

Browse files
committed
Force CURL > 7.55.0
1 parent 767c5c2 commit ff08555

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ message (STATUS "Searching dependent libraries. This may take a few minutes...")
139139
find_package (NETCDF REQUIRED)
140140
include_directories (${NETCDF_INCLUDE_DIR})
141141

142-
# libcurl is required since 5.4
143-
find_package (CURL REQUIRED)
142+
# libcurl is required since GMT 5.4
143+
# At least version 7.55.0 is needed for seis/gmtisf.c
144+
find_package (CURL 7.55.0 REQUIRED)
144145
include_directories (${CURL_INCLUDE_DIRS})
145146
list (APPEND GMT_OPTIONAL_LIBRARIES ${CURL_LIBRARIES})
146147
set (CURL_LIBRARY ${CURL_LIBRARIES} CACHE INTERNAL "")

0 commit comments

Comments
 (0)