Do not build curl and link to it statically

This commit is contained in:
tamasmeszaros 2022-05-13 11:20:36 +02:00
parent 28e2315e72
commit 8dc64364b4
2 changed files with 4 additions and 2 deletions

View File

@ -37,6 +37,8 @@ option(SLIC3R_UBSAN "Enable UBSan on Clang and GCC" 0)
# If SLIC3R_FHS is 1 -> SLIC3R_DESKTOP_INTEGRATION is always 0, othrewise variable.
CMAKE_DEPENDENT_OPTION(SLIC3R_DESKTOP_INTEGRATION "Allow perfoming desktop integration during runtime" 1 "NOT SLIC3R_FHS" 0)
set(SLIC3R_STATIC_EXCLUDE_CURL ON CACHE BOOL "" FORCE)
set(OPENVDB_FIND_MODULE_PATH "" CACHE PATH "Path to OpenVDB installation's find modules.")
set(SLIC3R_GTK "2" CACHE STRING "GTK version to use with wxWidgets on Linux")

4
deps/CMakeLists.txt vendored
View File

@ -179,7 +179,7 @@ include(CGAL/CGAL.cmake)
include(NLopt/NLopt.cmake)
include(OpenSSL/OpenSSL.cmake)
include(CURL/CURL.cmake)
#include(CURL/CURL.cmake)
include(JPEG/JPEG.cmake)
include(TIFF/TIFF.cmake)
@ -188,7 +188,7 @@ include(wxWidgets/wxWidgets.cmake)
set(_dep_list
dep_Boost
dep_TBB
dep_CURL
#dep_CURL
dep_wxWidgets
dep_Cereal
dep_NLopt