- bugfix for static inclusion of libcurl

This commit is contained in:
Mark Vejvoda
2011-01-04 02:55:45 +00:00
parent a36f0c38d6
commit b385d4c2b1
4 changed files with 36 additions and 65 deletions

View File

@@ -35,9 +35,8 @@ IF(CURL_FOUND)
OUTPUT_VARIABLE CURL_STATIC_LIBS
RETURN_VALUE RET)
SET(CURL_LIBRARIES "-static ${CURL_STATIC_LIBS}")
SET(CURL_LIBRARIES "-Bstatic ${CURL_STATIC_LIBS}")
ENDIF()
ENDIF()
ELSE(CURL_FOUND)
SET(CURL_LIBRARIES)