I wish to use CLion for my course so I follow this topic.
I updated my PATH by adding these values :
- C:\Program Files\CMake\bin
- C:\tools\opencv\build\install\x64\mingw\bin
(I use chocolatey)
And I added this FindOpenCV.cmake to my project and in the folder C:\Program Files\JetBrains\CLion 2020.2.1\bin\cmake\win\share\cmake-3.17\Modules.
When I try to reload my project in CLion I have :
Found OpenCV Windows Pack but it has no binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV library.
How can I solve that ? Thanks in advance.