mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
cmake: workaround CPATH ipp_iw issue
CPATH entries are processed before any -isystem: https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html
This commit is contained in:
@@ -13,10 +13,10 @@ if(WITH_IPP)
|
||||
if(HAVE_IPP)
|
||||
include("${OpenCV_SOURCE_DIR}/cmake/OpenCVFindIPPIW.cmake")
|
||||
if(HAVE_IPP_IW)
|
||||
ocv_include_directories(SYSTEM ${IPP_IW_INCLUDES})
|
||||
ocv_include_directories(${IPP_IW_INCLUDES})
|
||||
list(APPEND OPENCV_LINKER_LIBS ${IPP_IW_LIBRARIES})
|
||||
endif()
|
||||
ocv_include_directories(SYSTEM ${IPP_INCLUDE_DIRS})
|
||||
ocv_include_directories(${IPP_INCLUDE_DIRS})
|
||||
list(APPEND OPENCV_LINKER_LIBS ${IPP_LIBRARIES})
|
||||
|
||||
# Details: #10229
|
||||
|
||||
Reference in New Issue
Block a user