mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #12504 from kraj:3.4
This commit is contained in:
commit
d66f3efd36
@ -259,7 +259,7 @@ function(ocv_include_directories)
|
|||||||
ocv_is_opencv_directory(__is_opencv_dir "${dir}")
|
ocv_is_opencv_directory(__is_opencv_dir "${dir}")
|
||||||
if(__is_opencv_dir)
|
if(__is_opencv_dir)
|
||||||
list(APPEND __add_before "${dir}")
|
list(APPEND __add_before "${dir}")
|
||||||
elseif(CV_GCC AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "6.0" AND
|
elseif(((CV_GCC AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "6.0") OR CV_CLANG) AND
|
||||||
dir MATCHES "/usr/include$")
|
dir MATCHES "/usr/include$")
|
||||||
# workaround for GCC 6.x bug
|
# workaround for GCC 6.x bug
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user