From 811cb9641d2b688771d5ee8d688122c500da61ad Mon Sep 17 00:00:00 2001 From: shenwei41 Date: Tue, 25 Jan 2022 11:58:41 +0800 Subject: [PATCH] modify opencv --- cmake/external_libs/opencv.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/external_libs/opencv.cmake b/cmake/external_libs/opencv.cmake index 81f591551a6..c6abaeb7c1a 100644 --- a/cmake/external_libs/opencv.cmake +++ b/cmake/external_libs/opencv.cmake @@ -41,7 +41,7 @@ if(MSVC) -DBUILD_ZLIB=ON -DBUILD_JPEG=ON -DBUILD_PNG=ON - -DBUILD_OPENEXR=ON + -DBUILD_OPENEXR=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_opencv_apps=OFF @@ -68,7 +68,7 @@ elseif(WIN32) -DBUILD_ZLIB=ON -DBUILD_JPEG=ON -DBUILD_PNG=ON - -DBUILD_OPENEXR=ON + -DBUILD_OPENEXR=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_opencv_apps=OFF @@ -95,7 +95,7 @@ else() -DBUILD_ZLIB=ON -DBUILD_JPEG=ON -DBUILD_PNG=ON - -DBUILD_OPENEXR=ON + -DBUILD_OPENEXR=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_opencv_apps=OFF