Skip to content

Commit 2a95ce2

Browse files
committed
use OpenCV explicitly in the example application
1 parent 54f5061 commit 2a95ce2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ INCLUDE_DIRECTORIES(${SceneLib2_INCLUDE_DIRS})
1111
LINK_DIRECTORIES(${SceneLib2_LIBRARY_DIRS})
1212
LINK_LIBRARIES(${SceneLib2_LIBRARIES})
1313

14+
FIND_PACKAGE(OpenCV REQUIRED)
15+
1416
ADD_EXECUTABLE(MonoSlamSceneLib1 MonoSlamSceneLib1.cpp)
17+
TARGET_LINK_LIBRARIES(MonoSlamSceneLib1 ${OpenCV_LIBS})

0 commit comments

Comments
 (0)