occt: allow CMAKE_BUILD_TYPE=None
This commit is contained in:
parent
5d498bbba3
commit
d8b6b16f92
1 changed files with 13 additions and 0 deletions
13
srcpkgs/occt/patches/cmake-build-type-none.patch
Normal file
13
srcpkgs/occt/patches/cmake-build-type-none.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -4,7 +4,7 @@ set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_D
|
||||
|
||||
set (CMAKE_SUPPRESS_REGENERATION TRUE)
|
||||
|
||||
-set (CMAKE_CONFIGURATION_TYPES Release Debug RelWithDebInfo CACHE INTERNAL "" FORCE)
|
||||
+set (CMAKE_CONFIGURATION_TYPES None Release Debug RelWithDebInfo CACHE INTERNAL "" FORCE)
|
||||
|
||||
# macro: include patched file if it exists
|
||||
macro (OCCT_INCLUDE_CMAKE_FILE BEING_INCLUDED_FILE)
|
Loading…
Reference in a new issue