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
1feca43e
Commit
1feca43e
authored
Oct 11, 2015
by
Davis King
Browse files
Minor fix.
parent
930e85c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/use_cpp_11.cmake
dlib/use_cpp_11.cmake
+1
-1
No files found.
dlib/use_cpp_11.cmake
View file @
1feca43e
...
...
@@ -19,7 +19,7 @@ include(${dlib_path}/add_global_compiler_switch.cmake)
# verions of CMake are not so convenient.
if
(
CMAKE_VERSION VERSION_LESS
"3.1"
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
execute_process
(
COMMAND
${
CMAKE_C_COMPILER
}
-dumpversion OUTPUT_VARIABLE GCC_VERSION
)
execute_process
(
COMMAND
${
CMAKE_C
XX
_COMPILER
}
-dumpversion OUTPUT_VARIABLE GCC_VERSION
)
if
(
GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7
)
message
(
STATUS
"C++11 activated."
)
add_global_compiler_switch
(
"-std=gnu++11"
)
...
...
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