Skip to content

Commit f9b1534

Browse files
committed
add openssl
1 parent fbc6601 commit f9b1534

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spatial/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ find_package(GEOS REQUIRED)
5656
find_package(GDAL REQUIRED)
5757
find_package(CURL REQUIRED)
5858
find_package(EXPAT REQUIRED)
59+
find_package(OpenSSL REQUIRED)
5960

6061
# Important: The link order matters, its the reverse order of dependency
6162
target_link_libraries(

spatial/dependencies/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ExternalProject_Add(
6767
-DCURL_USE_LIBSSH2=OFF
6868
-DCURL_USE_LIBPSL=OFF
6969
-DCURL_USE_LIBSSH=OFF
70-
-DOPENSSL_USE_STATIC_LIBS=TRUE # Propagate to FindOpenSSL.cmake
70+
-DOPENSSL_USE_STATIC_LIBS=ON # Propagate to FindOpenSSL.cmake
7171
)
7272

7373
find_program(EXE_SQLITE3 sqlite3)
@@ -169,7 +169,7 @@ ExternalProject_Add(
169169
-DGDAL_USE_EXPAT=ON
170170
-DGDAL_USE_CURL=ON
171171
-DGDAL_USE_OPENSSL=ON
172-
-DOPENSSL_USE_STATIC_LIBS=TRUE # Propagate to FindOpenSSL.cmake
172+
-DOPENSSL_USE_STATIC_LIBS=ON # Propagate to FindOpenSSL.cmake
173173

174174
# This is not true, but a bug in gdal's cmake files
175175
-DACCEPT_MISSING_SQLITE3_RTREE:BOOL=ON

0 commit comments

Comments
 (0)