Commit d7c679acea1c3fb136c5fdeccdfb6646a2ad755e

Authored by Keyur Patel
1 parent 7085d7e0

fix opencv linking error

Showing 1 changed file with 1 additions and 1 deletions
app/br-gui/CMakeLists.txt
1 include_directories(${CMAKE_CURRENT_BINARY_DIR}) 1 include_directories(${CMAKE_CURRENT_BINARY_DIR})
2 add_executable(br-gui WIN32 br-gui.cpp ${BR_RESOURCES}) 2 add_executable(br-gui WIN32 br-gui.cpp ${BR_RESOURCES})
3 qt5_use_modules(br-gui ${QT_DEPENDENCIES}) 3 qt5_use_modules(br-gui ${QT_DEPENDENCIES})
4 -target_link_libraries(br-gui openbr ${BR_THIRDPARTY_LIBS}) 4 +target_link_libraries(br-gui openbr ${BR_THIRDPARTY_LIBS} opencv_core)
5 install(TARGETS br-gui RUNTIME DESTINATION bin) 5 install(TARGETS br-gui RUNTIME DESTINATION bin)