mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
Ensure libcurl also links against libssl and libcrypto
ssl and crypto seem to be lacking in ${CURL_LIBRARIES} at least on my distro, and that causes underlinking issues.
This commit is contained in:
@@ -54,7 +54,7 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER OR BUILD_MEGAGLEST_MAP_EDITOR OR BUILD_MEGAGLEST
|
||||
FIND_PACKAGE(CURL REQUIRED)
|
||||
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS})
|
||||
IF(UNIX)
|
||||
SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${CURL_LIBRARIES})
|
||||
SET(EXTERNAL_LIBS ${EXTERNAL_LIBS} ${CURL_LIBRARIES} ssl)
|
||||
ENDIF()
|
||||
# check libcurl version #
|
||||
IF(WIN32)
|
||||
|
Reference in New Issue
Block a user