cura-engine/fix-build.patch

24 lines
625 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2717e987..edd2a93c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,7 +61,6 @@ if(SET_RPATH)
if(NOT DEFINED LIB_SUFFIX)
set(LIB_SUFFIX "")
endif()
- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
endif()
set(CURA_ENGINE_VERSION "master" CACHE STRING "Version name of Cura")
@@ -109,10 +108,6 @@ if (ENABLE_MORE_COMPILER_OPTIMIZATION_FL
endif()
endif ()
-if(NOT APPLE AND NOT WIN32)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++")
-endif()
-
if (WIN32)
add_definitions(-DNOMINMAX)
endif()