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