From df032e220e52b958b928c9c520320e627e51ceb7 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 7 Aug 2018 16:02:34 +0200 Subject: [PATCH] Fixed: CURL also depends on libunistring under OS X --HG-- branch : develop --- code/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 9ba0ebe65..681f7a959 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -256,6 +256,11 @@ IF(WITH_NEL) LIST(APPEND CURL_LIBRARIES ${PSL_LIBRARY}) ENDIF() + FIND_LIBRARY(UNISTRING_LIBRARY unistring) + IF(UNISTRING_LIBRARY) + LIST(APPEND CURL_LIBRARIES ${UNISTRING_LIBRARY}) + ENDIF() + LIST(APPEND CURL_LIBRARIES ${SECURITY_FRAMEWORK}) ENDIF() ENDIF()