Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
ba430be5
"docs/vscode:/vscode.git/clone" did not exist on "62b4bbb4947a83fb98763c17ee1a9c76f3ac628d"
Commit
ba430be5
authored
Aug 19, 2017
by
Davis King
Browse files
Make DLIB_ASSERT statements not abort the python interpreter, but just trigger an exception.
parent
33513abd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tools/python/CMakeLists.txt
tools/python/CMakeLists.txt
+3
-0
No files found.
tools/python/CMakeLists.txt
View file @
ba430be5
...
@@ -3,6 +3,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
...
@@ -3,6 +3,9 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
set
(
USE_SSE4_INSTRUCTIONS ON CACHE BOOL
"Use SSE4 instructions"
)
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
)
include
(
../../dlib/cmake_utils/add_python_module
)
add_definitions
(
-DDLIB_VERSION=
${
DLIB_VERSION
}
)
add_definitions
(
-DDLIB_VERSION=
${
DLIB_VERSION
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment