diff --git a/srcpkgs/darktable/patches/cmake-build-type-none.patch b/srcpkgs/darktable/patches/cmake-build-type-none.patch new file mode 100644 index 00000000000..7101f9c1a0e --- /dev/null +++ b/srcpkgs/darktable/patches/cmake-build-type-none.patch @@ -0,0 +1,14 @@ +Index: src/external/rawspeed/cmake/build-type.cmake +=================================================================== +--- src/external/rawspeed/cmake/build-type.cmake.orig ++++ src/external/rawspeed/cmake/build-type.cmake +@@ -27,9 +27,6 @@ string(TOUPPER "${RAWSPEED_SPECIAL_BUILD + + # is this one of the known build types? + list (FIND CMAKE_CONFIGURATION_TYPES_UPPERCASE ${CMAKE_BUILD_TYPE_UPPERCASE} BUILD_TYPE_IS_KNOWN) +-if (${BUILD_TYPE_IS_KNOWN} EQUAL -1) +- message(SEND_ERROR "Unknown build type: ${CMAKE_BUILD_TYPE_UPPERCASE}. Please specify one of: ${CMAKE_CONFIGURATION_TYPES}") +-endif() + + # is this a special build? + list (FIND RAWSPEED_SPECIAL_BUILD_TYPES_UPPERCASE ${CMAKE_BUILD_TYPE_UPPERCASE} IS_SPECIAL_BUILD)