Possibility to link curl and glew dynamically in static mode.

This commit is contained in:
tamasmeszaros 2021-08-19 16:56:22 +02:00
parent 40f78ca31c
commit 421089ebc8
2 changed files with 4 additions and 4 deletions

View file

@ -268,7 +268,7 @@ if(APPLE)
target_link_libraries(libslic3r_gui ${DISKARBITRATION_LIBRARY})
endif()
if (SLIC3R_STATIC AND UNIX AND NOT APPLE)
if (SLIC3R_STATIC AND NOT SLIC3R_STATIC_EXCLUDE_CURL AND UNIX AND NOT APPLE)
target_compile_definitions(libslic3r_gui PRIVATE OPENSSL_CERT_OVERRIDE)
endif ()