Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updated README to add example of setting OpenCV_DIR in cmake command
  • Loading branch information
saumyakswain committed Feb 21, 2019
1 parent 929e3d6 commit 91b87dc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion QRCode-OpenCV/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ This directory contains code for using OpenCV QR code. This code requires **Open
# For C++

## How to compile the code
First Specify the **OpenCV_DIR** in CMakeLists.txt file. Then,

Specify the **OpenCV_DIR** in CMake option

```
cmake -D OpenCV_DIR=<path to opencv install directory>/lib/cmake/opencv4/ .
make
```

OR First Specify the **OpenCV_DIR** in CMakeLists.txt file. Then,

```
cmake .
Expand Down

0 comments on commit 91b87dc

Please sign in to comment.