mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
- fix cmake build on Fedora and other non friendly static lib distro's
This commit is contained in:
@@ -42,12 +42,12 @@ IF(CURL_FOUND)
|
||||
OUTPUT_VARIABLE CURL_STATIC_LIBS
|
||||
RETURN_VALUE RET)
|
||||
|
||||
MESSAGE(STATUS "CURL RET = ${RET}")
|
||||
MESSAGE(STATUS "CURL RET = ${RET} libs: [${CURL_STATIC_LIBS}]")
|
||||
ELSE()
|
||||
SET(RET 1)
|
||||
ENDIF()
|
||||
|
||||
IF(${RET} EQUAL 0)
|
||||
IF(RET EQUAL 0 AND CURL_STATIC_LIBS)
|
||||
MESSAGE(STATUS "USING CURL STATIC LIBS: ${CURL_STATIC_LIBS}")
|
||||
SET(CURL_LIBRARIES "-Bstatic ${CURL_STATIC_LIBS}")
|
||||
ELSE()
|
||||
|
Reference in New Issue
Block a user