mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 00:19:46 +01:00
Update CMakeLists.txt
This commit is contained in:
parent
1f674dcdb4
commit
c5ef3948cf
|
|
@ -30,7 +30,7 @@ if(NOT SYCL_FOUND AND NOT OPENCV_SKIP_SAMPLES_SYCL_ONEDNN)
|
||||||
if(NOT DEFINED DNNLROOT AND DEFINED ENV{DNNLROOT})
|
if(NOT DEFINED DNNLROOT AND DEFINED ENV{DNNLROOT})
|
||||||
set(DNNLROOT "$ENV{DNNLROOT}")
|
set(DNNLROOT "$ENV{DNNLROOT}")
|
||||||
endif()
|
endif()
|
||||||
# Some verions of called script violate CMake policy and may emit unrecoverable CMake errors
|
# Some versions of called script violate CMake policy and may emit unrecoverable CMake errors
|
||||||
# Use OPENCV_SKIP_SAMPLES_SYCL=1 / OPENCV_SKIP_SAMPLES_SYCL_ONEDNN to bypass this
|
# Use OPENCV_SKIP_SAMPLES_SYCL=1 / OPENCV_SKIP_SAMPLES_SYCL_ONEDNN to bypass this
|
||||||
find_package(dnnl CONFIG QUIET HINTS "${DNNLROOT}")
|
find_package(dnnl CONFIG QUIET HINTS "${DNNLROOT}")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user