From ce683c403a96e15998900cd72cd59b4feeb6bd69 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Tue, 25 Feb 2020 20:18:44 +0100 Subject: [PATCH] genral: always link libcurl to avoid unresolved symbols in pcbnew --- common/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index fb6921e56a..48fbb74487 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -303,8 +303,6 @@ set( COMMON_SRCS hotkey_store.cpp hotkeys_basic.cpp html_messagebox.cpp - kicad_curl/kicad_curl.cpp - kicad_curl/kicad_curl_easy.cpp kiface_i.cpp kiway.cpp kiway_express.cpp @@ -353,6 +351,11 @@ if( NOT HAVE_STRTOKR ) list( APPEND COMMON_SRCS strtok_r.c ) endif() +list( APPEND COMMON_SRCS + kicad_curl/kicad_curl.cpp + kicad_curl/kicad_curl_easy.cpp +) + set( COMMON_SRCS ${COMMON_SRCS}