mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
* cmake: avoid deprecated LINK_PRIVATE/LINK_PUBLIC see CMP0023 (CMake 2.8.12+) * cmake: fix 3rdparty list - don't include OpenCV modules
This commit is contained in:
committed by
GitHub
parent
f62241b780
commit
a45928045a
@@ -27,4 +27,4 @@ endif()
|
||||
add_executable(opencv_example example.cpp)
|
||||
|
||||
# Link your application with OpenCV libraries
|
||||
target_link_libraries(opencv_example LINK_PRIVATE ${OpenCV_LIBS})
|
||||
target_link_libraries(opencv_example PRIVATE ${OpenCV_LIBS})
|
||||
|
||||
Reference in New Issue
Block a user