1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

cmake(samples): use LINK_PRIVATE in target_link_libraries

This commit is contained in:
Alexander Alekhin
2019-05-14 19:20:17 +03:00
parent 3e876c5066
commit 18151e79bb
13 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ endif()
add_executable(opencv_example example.cpp)
# Link your application with OpenCV libraries
target_link_libraries(opencv_example ${OpenCV_LIBS})
target_link_libraries(opencv_example LINK_PRIVATE ${OpenCV_LIBS})