From ff14256dc525c482f5af26b0d649f5b82173c68d Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 2 Dec 2011 19:05:42 +0000 Subject: [PATCH] - added ability to force using dynamic CURL because some retard ditros report they support static when they in fact do not (ahem.. Suse) --- mk/cmake/Modules/FindCURL.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mk/cmake/Modules/FindCURL.cmake b/mk/cmake/Modules/FindCURL.cmake index d47eb18d..21f8592e 100644 --- a/mk/cmake/Modules/FindCURL.cmake +++ b/mk/cmake/Modules/FindCURL.cmake @@ -33,6 +33,8 @@ IF(CURL_FOUND) IF(CMAKE_CURL_CONFIG) 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) + MESSAGE(STATUS "Force Curl dynamic: ${FORCE_CURL_DYNAMIC_LIBS}") + IF(WANT_STATIC_LIBS AND NOT FORCE_CURL_DYNAMIC_LIBS) # run the curl-config program to get --static-libs EXEC_PROGRAM(sh