Skip to content

Commit 18f1c02

Browse files
committed
Merge moved code from opencv/3.4
2 parents b11fb78 + aaf67d6 commit 18f1c02

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/cudev/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(OCV_DEPENDENCIES_FOUND)
1616
ocv_cuda_filter_options()
1717

1818
CUDA_ADD_EXECUTABLE(${the_target} ${OPENCV_TEST_${the_module}_SOURCES} OPTIONS -std=c++11)
19-
ocv_target_link_libraries(${the_target} LINK_PRIVATE
19+
ocv_target_link_libraries(${the_target} PRIVATE
2020
${test_deps} ${OPENCV_LINKER_LIBS} ${CUDA_LIBRARIES}
2121
)
2222
add_dependencies(opencv_tests ${the_target})

modules/viz/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ ocv_add_accuracy_tests()
3535
ocv_add_perf_tests()
3636
ocv_add_samples(opencv_imgproc opencv_calib3d opencv_features2d opencv_flann)
3737

38-
ocv_target_link_libraries(${the_module} LINK_PRIVATE ${VTK_LIBRARIES})
38+
ocv_target_link_libraries(${the_module} PRIVATE ${VTK_LIBRARIES})
3939

4040
if(APPLE AND BUILD_opencv_viz)
41-
ocv_target_link_libraries(${the_module} LINK_PRIVATE "-framework Cocoa")
41+
ocv_target_link_libraries(${the_module} PRIVATE "-framework Cocoa")
4242
endif()
4343

4444
if(TARGET opencv_test_viz)

0 commit comments

Comments
 (0)