Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Fri, 13 Dec 2019 14:52:40 +0000 (17:52 +0300)
committerGitHub <noreply@github.com>
Fri, 13 Dec 2019 14:52:40 +0000 (17:52 +0300)
commita45928045a90493d45bd69244ea906d523900ba0
tree4c9a029a4836300b87bcd0e05af65d356e887c69
parentf62241b7803b5e54d00982560a53b226f65d4662
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
24 files changed:
3rdparty/openvx/hal/CMakeLists.txt
cmake/OpenCVDetectCUDA.cmake
cmake/OpenCVModule.cmake
cmake/OpenCVUtils.cmake
cmake/android/android_ant_projects.cmake
modules/core/CMakeLists.txt
modules/cudev/test/CMakeLists.txt
modules/java/jni/CMakeLists.txt
modules/python/common.cmake
modules/viz/CMakeLists.txt
samples/CMakeLists.example.in
samples/android/CMakeLists.txt
samples/cpp/CMakeLists.txt
samples/cpp/example_cmake/CMakeLists.txt
samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/CMakeLists.txt
samples/directx/CMakeLists.txt
samples/dnn/CMakeLists.txt
samples/gpu/CMakeLists.txt
samples/opencl/CMakeLists.txt
samples/opengl/CMakeLists.txt
samples/openvx/CMakeLists.txt
samples/samples_utils.cmake
samples/tapi/CMakeLists.txt
samples/va_intel/CMakeLists.txt