---- CuraEngine-3.5.1/CMakeLists.txt~ 2018-11-04 14:38:14.000000000 +0100
-+++ CuraEngine-3.5.1/CMakeLists.txt 2018-11-04 14:48:14.120992489 +0100
-@@ -15,10 +15,7 @@
+--- CuraEngine-4.5.0/CMakeLists.txt.orig 2022-07-08 20:39:09.872656739 +0200
++++ CuraEngine-4.5.0/CMakeLists.txt 2022-07-08 20:40:19.215614409 +0200
+@@ -24,8 +24,6 @@ if(ENABLE_ARCUS)
add_definitions(-DARCUS)
- endif ()
+ endif()
-#For reading image files.
-find_package(Stb REQUIRED)
include_directories(${Stb_INCLUDE_DIRS})
--
+
option(USE_SYSTEM_LIBS "Use the system libraries if available" OFF)
- if(USE_SYSTEM_LIBS)
- find_package(RapidJSON CONFIG REQUIRED)
-@@ -193,9 +189,6 @@
+@@ -262,9 +260,6 @@ endif ()
# Compiling CuraEngine itself.
add_library(_CuraEngine STATIC ${engine_SRCS} ${engine_PB_SRCS}) #First compile all of CuraEngine as library, allowing this to be re-used for tests.