darktable: fix CMAKE_BUILD_TYPE=None
This commit is contained in:
parent
77f4f82cc0
commit
fb97ba28de
|
@ -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)
|
Loading…
Reference in New Issue