Possibility to link curl and glew dynamically in static mode.

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

No files matched your search

+1 -1
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 ()