index 1ec537d..bc5cf85 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -36,10 +36,6 @@ endif()
- # Add warnings
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
+@@ -97,10 +97,6 @@
+ endif()
+ endif ()
-if(NOT APPLE AND NOT WIN32)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++")
-endif()
-
- option (ENABLE_OPENMP
- "Use OpenMP for parallel code" ON)
-
+ if (WIN32)
+ add_definitions(-DNOMINMAX)
+ endif()
--
2.11.0
Summary(pl.UTF-8): Silnik do przetwarzania modeli 3D na instrukcje G-code dla drukarek 3D
Name: CuraEngine
Version: 4.5.0
-Release: 2
+Release: 3
Epoch: 1
License: AGPL v3
Group: Applications/Engineering
Source1: https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
# Source1-md5: a1170ba8b5f36154a8b9859f17ee8470
Patch0: %{name}-rpath.patch
+Patch1: %{name}-static-libstdcpp.patch
Patch2: local-stb.patch
URL: https://github.com/Ultimaker/CuraEngine
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.6.0
BuildRequires: libArcus-devel = %{version}
BuildRequires: libgomp-devel
BuildRequires: libstdc++-devel >= 6:4.7
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%patch2 -p1
mkdir stb