1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Update CMakeLists.txt

This commit is contained in:
kilavvy
2025-06-12 17:03:07 +02:00
committed by GitHub
parent 1f674dcdb4
commit c5ef3948cf
+1 -1
View File
@@ -30,7 +30,7 @@ if(NOT SYCL_FOUND AND NOT OPENCV_SKIP_SAMPLES_SYCL_ONEDNN)
if(NOT DEFINED DNNLROOT AND DEFINED ENV{DNNLROOT})
set(DNNLROOT "$ENV{DNNLROOT}")
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
find_package(dnnl CONFIG QUIET HINTS "${DNNLROOT}")
endif()