diff --git a/tests/libslic3r/test_emboss.cpp b/tests/libslic3r/test_emboss.cpp index c742cdc54d..9291a5e6dd 100644 --- a/tests/libslic3r/test_emboss.cpp +++ b/tests/libslic3r/test_emboss.cpp @@ -179,6 +179,7 @@ TEST_CASE("triangle intersection", "[]") CHECK(abs(i.y() - 1.) < std::numeric_limits::epsilon()); } +#ifndef __APPLE__ #include #include #include @@ -188,7 +189,6 @@ TEST_CASE("Italic check", "[]") std::queue dir_paths; #ifdef _WIN32 dir_paths.push("C:/Windows/Fonts"); -#elif defined(__APPLE__) #elif defined(__linux__) dir_paths.push("/usr/share/fonts"); #endif @@ -219,4 +219,5 @@ TEST_CASE("Italic check", "[]") } CHECK(exist_italic); CHECK(exist_non_italic); -} \ No newline at end of file +} +#endif // not __APPLE__