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
8e9755ab
Unverified
Commit
8e9755ab
authored
Apr 27, 2021
by
Adrià Arrufat
Committed by
GitHub
Apr 27, 2021
Browse files
do not attempt to build with gcc 4.8.5 or older (#2357)
* do not attempt to build with gcc 4.8.5 or older * add comment
parent
9b502d29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+6
-0
No files found.
dlib/CMakeLists.txt
View file @
8e9755ab
...
@@ -58,6 +58,12 @@ if(has_parent)
...
@@ -58,6 +58,12 @@ if(has_parent)
endif
()
endif
()
endif
()
endif
()
# As of dlib 19.22, GCC 4.8.5 is no longer supported, building will fail, so let users know.
if
(
CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 4.8.5
)
message
(
FATAL_ERROR
"
${
CMAKE_CXX_COMPILER
}
${
CMAKE_CXX_COMPILER_VERSION
}
is too old for dlib
${
VERSION
}
.
\n
\
Either update your compiler to be fully compliant with C++11 or build an older version of dlib, such as 19.21."
)
endif
()
if
(
COMMAND pybind11_add_module AND MSVC
)
if
(
COMMAND pybind11_add_module AND MSVC
)
# True when building a python extension module using Visual Studio. We care
# True when building a python extension module using Visual Studio. We care
# about this because a huge number of windows users have broken systems, and
# about this because a huge number of windows users have broken systems, 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