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
8b5e278f
Commit
8b5e278f
authored
Sep 28, 2016
by
Davis King
Browse files
Made cmake automatically increase clang's template depth limit so the dnn
imagenet examples compile.
parent
28a5512b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dlib/cmake
dlib/cmake
+5
-0
No files found.
dlib/cmake
View file @
8b5e278f
...
@@ -23,6 +23,11 @@ if (CMAKE_COMPILER_IS_GNUCXX)
...
@@ -23,6 +23,11 @@ if (CMAKE_COMPILER_IS_GNUCXX)
add_global_compiler_switch(-Wreturn-type)
add_global_compiler_switch(-Wreturn-type)
endif()
endif()
if ("Clang" MATCHES ${CMAKE_CXX_COMPILER_ID})
# Increase clang's default tempalte recurision depth so the dnn examples don't error out.
add_definitions(-ftemplate-depth=500)
endif()
set(gcc_like_compilers GNU Clang Intel)
set(gcc_like_compilers GNU Clang Intel)
set(intel_archs x86_64 i386 i686)
set(intel_archs x86_64 i386 i686)
...
...
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