"vscode:/vscode.git/clone" did not exist on "95aaa4934a581516503dbf76a856d9b80d241ded"
Commit 8b5e278f authored by Davis King's avatar Davis King
Browse files

Made cmake automatically increase clang's template depth limit so the dnn

imagenet examples compile.
parent 28a5512b
......@@ -23,6 +23,11 @@ if (CMAKE_COMPILER_IS_GNUCXX)
add_global_compiler_switch(-Wreturn-type)
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(intel_archs x86_64 i386 i686)
......
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