Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
48df23a0
Commit
48df23a0
authored
Sep 10, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cmake script so they don't think visual studio 2015 supports C++11, because it doesn't. :(
parent
e22be5fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
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