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
48df23a0
Commit
48df23a0
authored
Sep 09, 2016
by
Davis King
Browse files
Fix cmake script so they don't think visual studio 2015 supports C++11, because it doesn't. :(
parent
e22be5fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dlib/cmake_utils/use_cpp_11.cmake
dlib/cmake_utils/use_cpp_11.cmake
+2
-1
No files found.
dlib/cmake_utils/use_cpp_11.cmake
View file @
48df23a0
...
...
@@ -50,7 +50,8 @@ if (CMAKE_VERSION VERSION_LESS "3.1.2")
message
(
STATUS
"*** Your compiler failed to build a C++11 project, so dlib won't use C++11 features.***"
)
endif
()
endif
()
else
()
elseif
(
NOT MSVC14
)
# Visual Studio 14 reports that it supports C++11 but it really doesn't :(
# Set a flag if the compiler you are using is capable of providing C++11 features.
get_property
(
cxx_features GLOBAL PROPERTY CMAKE_CXX_KNOWN_FEATURES
)
if
(
";
${
cxx_features
}
;"
MATCHES
";cxx_rvalue_references;"
AND
...
...
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