From 2a526f112021355e3dbfc5f4621b9af148569ab9 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 31 Aug 2022 17:40:08 +0200 Subject: [PATCH] Fix OpenCV cmake --- SuperBuild/cmake/External-OpenCV.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SuperBuild/cmake/External-OpenCV.cmake b/SuperBuild/cmake/External-OpenCV.cmake index 1c275477..f0abcb6f 100644 --- a/SuperBuild/cmake/External-OpenCV.cmake +++ b/SuperBuild/cmake/External-OpenCV.cmake @@ -22,8 +22,8 @@ elseif(APPLE) -DPYTHON_DEFAULT_EXECUTABLE=${PYTHON_EXE_PATH} -DPYTHON3_VERSION_MAJOR=3 -DPYTHON3_VERSION_MINOR=8 + -DOPENCV_CONFIG_INSTALL_PATH= -DOPENCV_PYTHON_INSTALL_PATH=${SB_INSTALL_DIR}/lib/python3.8/dist-packages - -D__INSTALL_PATH_PYTHON3=${SB_INSTALL_DIR}/lib/python3.8/dist-packages -DHAVE_opencv_python3=ON -DOPENCV_PYTHON_SKIP_DETECTION=ON -DOPENCV_LIB_INSTALL_PATH=${SB_INSTALL_DIR}/lib