File fix-build.patch of Package cura-engine
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f18aa140..3da7d91e6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@
cmake_policy(SET CMP0091 NEW) # For MSVC flags, will be ignored on non-Windows OS's
cmake_minimum_required(VERSION 3.20)
project(CuraEngine)
-find_package(standardprojectsettings REQUIRED) # imports the cmake module https://github.com/Ultimaker/conan-ultimaker-index/recipes/standardprojectsettings
+include(UltimakerProjectSettings)
AssureOutOfSourceBuilds()
option(ENABLE_ARCUS "Enable support for ARCUS" ON)
@@ -20,7 +20,7 @@ option(OLDER_APPLE_CLANG "Apple Clang <= 13 used" OFF)
option(ENABLE_THREADING "Enable threading support" ON)
if (${ENABLE_ARCUS} OR ${ENABLE_PLUGINS})
- find_package(protobuf REQUIRED)
+ find_package(Protobuf REQUIRED)
endif ()
MESSAGE(STATUS "Building with plugins support: ${ENABLE_PLUGINS}")