Files
haikuports/media-gfx/curaengine/patches/curaengine-4.7.1.patchset
Gerasim Troeglazov 64631c5265 CuraEngine: add recipe
2020-10-25 16:30:56 +10:00

23 lines
577 B
Plaintext

From b562e5e0043fbf6881ad69bcf5df86a31e4b0bac Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sun, 25 Oct 2020 16:12:46 +1000
Subject: Fix build
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf5db43..317baed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,7 +101,7 @@ if (ENABLE_MORE_COMPILER_OPTIMIZATION_FLAGS AND NOT (CMAKE_BUILD_TYPE_UPPER MATC
endif()
endif ()
-if(NOT APPLE AND NOT WIN32)
+if(NOT APPLE AND NOT WIN32 AND NOT HAIKU)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++")
endif()
--
2.28.0