diff options
Diffstat (limited to 'community/opencolorio/0001-build-type-none.patch')
-rw-r--r-- | community/opencolorio/0001-build-type-none.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/community/opencolorio/0001-build-type-none.patch b/community/opencolorio/0001-build-type-none.patch deleted file mode 100644 index b9c1802ebec..00000000000 --- a/community/opencolorio/0001-build-type-none.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 0806df573edaa8695cd401af342d29cd934a6940 Mon Sep 17 00:00:00 2001 -From: Leon Marz <main@lmarz.org> -Date: Fri, 17 Sep 2021 10:56:50 +0200 -Subject: [PATCH 1/2] build type none - ---- - CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 09d9b8b..0966e73 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -78,6 +78,7 @@ endif() - ############################################################################### - # Define compilation mode i.e. debug or release - -+if(false) - if(NOT DEFINED CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "") - message(STATUS "Setting build type to 'Release' as none was specified.") - set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE) -@@ -99,6 +100,7 @@ if(NOT "${CMAKE_BUILD_TYPE}" IN_LIST CMAKE_CONFIGURATION_TYPES) - message(FATAL_ERROR - "CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} is unsupported. Supported values are: ${_CMAKE_CONFIGURATION_TYPES_STR}.") - endif() -+endif() - - # Is that in debug mode? - --- -2.34.1 - |