--- 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() -#For reading image files. -find_package(Stb REQUIRED) include_directories(${Stb_INCLUDE_DIRS}) option(USE_SYSTEM_LIBS "Use the system libraries if available" OFF) @@ -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. -if (CuraEngine_Download_Stb) - add_dependencies(_CuraEngine stb) -endif() if(USE_SYSTEM_LIBS) target_link_libraries(_CuraEngine ${Polyclipping_LIBRARIES}) else()