1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

build: transition to C++17, minor changes in documentation

This commit is contained in:
Maksim Shabunin
2024-10-10 18:28:43 +03:00
parent 8e55659afe
commit d223e796f5
14 changed files with 73 additions and 330 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ fi
# [body]
# Install minimal prerequisites (Ubuntu 18.04 as reference)
sudo apt update && sudo apt install -y cmake g++ wget unzip
sudo apt update && sudo apt install -y cmake g++ wget unzip ninja-build
# Download and unpack sources
wget -O opencv.zip https://github.com/opencv/opencv/archive/5.x.zip
@@ -19,7 +19,7 @@ unzip opencv.zip
mkdir -p build && cd build
# Configure
cmake ../opencv-5.x
cmake -GNinja ../opencv-5.x
# Build
cmake --build .