From f0d3bbddffee0865b56e78c4a03d214e4c27b234 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 21 Dec 2023 10:40:05 +0300 Subject: [PATCH] Do not install removed toolchain file for Android. --- cmake/OpenCVGenConfig.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/cmake/OpenCVGenConfig.cmake b/cmake/OpenCVGenConfig.cmake index 838852c4e7..44297b813f 100644 --- a/cmake/OpenCVGenConfig.cmake +++ b/cmake/OpenCVGenConfig.cmake @@ -120,7 +120,6 @@ endif() if(ANDROID) ocv_gen_config("${CMAKE_BINARY_DIR}/unix-install" "abi-${ANDROID_NDK_ABI_NAME}" "OpenCVConfig.root-ANDROID.cmake.in") - install(FILES "${OpenCV_SOURCE_DIR}/platforms/android/android.toolchain.cmake" DESTINATION "${OPENCV_CONFIG_INSTALL_PATH}" COMPONENT dev) endif() # --------------------------------------------------------------------------------------------