Go to file
2023-03-05 23:53:04 +08:00
.github Added ARM64 debug configuration to CI. 2022-10-25 13:41:10 +03:00
include/opencv4/opencv2 编译mac 没 2023-03-05 23:53:04 +08:00
lib 编译mac 没 2023-03-05 23:53:04 +08:00
share 编译mac 没 2023-03-05 23:53:04 +08:00
.editorconfig add .editorconfig 2018-10-11 17:57:51 +00:00
.gitattributes cmake: generate and install ffmpeg-download.ps1 2018-06-09 13:19:48 +03:00
.gitignore Merge pull request #17165 from komakai:objc-binding 2020-06-08 18:32:53 +00:00
README.md 编译mac 没 2023-03-05 23:53:04 +08:00

编译命令

mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/Users/yaha/Code/github/opencv/output ..
make -j8
make install

使用方式

set(OpenCV_DIR "/Users/yaha/Code/github/opencv/lib/cmake/opencv4")
find_package(OpenCV REQUIRED)