Debian Codegraph @

src/ifcconvert/cityjson/IfcOpenShell/nix/patches/occt/enable-exception-handling.patch

raw
1 Description: Enable exception handling
2 Upstream defaults to no exception handling for performance reasons,
3 but in OCCT's role as a shared library it's better for Debian to
4 enable it.
5 Author: Kurt Kremitzki <[email protected]>
6 Last-Update: 2018-06-10
7
8 --- a/adm/cmake/occt_defs_flags.cmake
9 +++ b/adm/cmake/occt_defs_flags.cmake
10 @@ -138,5 +138,5 @@
11 set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s")
12 endif()
13
14 -set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception")
15 -set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception")
16 +#set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception")
17 +#set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception")