Linking libraries opencv cmake
<p>I am trying to link my library and opencv library. Cmake is working properly, solution is build but linker error occurs. It seems as cmake couldnt link opencv lib with my library. </p>

<p><a href="https://i.stack.imgur.com/aAulM.jpg" rel="nofollow">This is an error which visual studio has.</a></p>

<p><a href="https://i.stack.imgur.com/Cyqj4.jpg" rel="nofollow">CMakeLists configuration for opencv lib</a></p>

<p>This is piece of CMakeLists conf responsible for linking libs.</p>

<pre><code># link libs
target_link_libraries(${APP_NAME} ${OpenCV_LIBS})
</code></pre>

<p>I would be very grateful for you help.</p>