- added ability to force using dynamic CURL because some retard ditros report they support static when they in fact do not (ahem.. Suse)
This commit is contained in:
parent
d677699002
commit
ff14256dc5
|
@ -33,6 +33,8 @@ IF(CURL_FOUND)
|
||||||
IF(CMAKE_CURL_CONFIG)
|
IF(CMAKE_CURL_CONFIG)
|
||||||
OPTION(WANT_STATIC_LIBS "builds as many static libs as possible" OFF)
|
OPTION(WANT_STATIC_LIBS "builds as many static libs as possible" OFF)
|
||||||
OPTION(FORCE_CURL_DYNAMIC_LIBS "force the use of dynamic libs for CURL" OFF)
|
OPTION(FORCE_CURL_DYNAMIC_LIBS "force the use of dynamic libs for CURL" OFF)
|
||||||
|
MESSAGE(STATUS "Force Curl dynamic: ${FORCE_CURL_DYNAMIC_LIBS}")
|
||||||
|
|
||||||
IF(WANT_STATIC_LIBS AND NOT FORCE_CURL_DYNAMIC_LIBS)
|
IF(WANT_STATIC_LIBS AND NOT FORCE_CURL_DYNAMIC_LIBS)
|
||||||
# run the curl-config program to get --static-libs
|
# run the curl-config program to get --static-libs
|
||||||
EXEC_PROGRAM(sh
|
EXEC_PROGRAM(sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user