From bf5d52f2214817745865f9ddadfac0b6d7ead260 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 25 Mar 2020 12:27:10 +0100 Subject: [PATCH] Only do OpenSSL override on Linux --- src/slic3r/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/CMakeLists.txt b/src/slic3r/CMakeLists.txt index 0bc26405b..7be778de9 100644 --- a/src/slic3r/CMakeLists.txt +++ b/src/slic3r/CMakeLists.txt @@ -197,7 +197,7 @@ if(APPLE) target_link_libraries(libslic3r_gui ${DISKARBITRATION_LIBRARY}) endif() -if (SLIC3R_STATIC) +if (SLIC3R_STATIC AND UNIX AND NOT APPLE) target_compile_definitions(libslic3r_gui PRIVATE OPENSSL_CERT_OVERRIDE) endif ()