Commit ba430be5 authored by Davis King's avatar Davis King

Make DLIB_ASSERT statements not abort the python interpreter, but just trigger an exception.

parent 33513abd
......@@ -3,6 +3,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
set(USE_SSE4_INSTRUCTIONS ON CACHE BOOL "Use SSE4 instructions")
# Make DLIB_ASSERT statements not abort the python interpreter, but just return an error.
add_definitions(-DDLIB_NO_ABORT_ON_2ND_FATAL_ERROR)
include(../../dlib/cmake_utils/add_python_module)
add_definitions(-DDLIB_VERSION=${DLIB_VERSION})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment