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
c8d33ea6
Commit
c8d33ea6
authored
Oct 19, 2015
by
Davis King
Browse files
Require the compiler to support the thread_local C++11 feature.
parent
ad03f747
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
dlib/use_cpp_11.cmake
dlib/use_cpp_11.cmake
+2
-0
No files found.
dlib/use_cpp_11.cmake
View file @
c8d33ea6
...
...
@@ -59,7 +59,9 @@ else()
";
${
CMAKE_CXX_COMPILE_FEATURES
}
;"
MATCHES
";cxx_lambdas;"
AND
";
${
CMAKE_CXX_COMPILE_FEATURES
}
;"
MATCHES
";cxx_defaulted_move_initializers;"
AND
";
${
CMAKE_CXX_COMPILE_FEATURES
}
;"
MATCHES
";cxx_delegating_constructors;"
AND
";
${
CMAKE_CXX_COMPILE_FEATURES
}
;"
MATCHES
";cxx_thread_local;"
AND
";
${
CMAKE_CXX_COMPILE_FEATURES
}
;"
MATCHES
";cxx_auto_type;"
)
set
(
COMPILER_CAN_DO_CPP_11 1
)
# Set which standard to use unless someone has already set it to something
# newer.
...
...
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