From 0e549ddd9ab444abe1734a24a64498dc02ef1663 Mon Sep 17 00:00:00 2001 From: Canming Huang Date: Tue, 1 Oct 2024 09:45:49 -0400 Subject: [PATCH] Fixed packaging Emgu.TF.runtime.maui.android binary. --- Emgu.TF.Runtime/Maui/Android/Full/CMakeLists.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Emgu.TF.Runtime/Maui/Android/Full/CMakeLists.txt b/Emgu.TF.Runtime/Maui/Android/Full/CMakeLists.txt index 28260093..3eb48d05 100644 --- a/Emgu.TF.Runtime/Maui/Android/Full/CMakeLists.txt +++ b/Emgu.TF.Runtime/Maui/Android/Full/CMakeLists.txt @@ -24,11 +24,15 @@ IF(HAVE_ANDROID AND (WIN32 OR APPLE)) # set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER "emgu") #endif() ADD_DEPENDENCIES(${PROJECT_NAME} Emgu.TF) + INSTALL( - FILES - ${CMAKE_CURRENT_SOURCE_DIR}/../../../../lib/${PROJECT_NAME}.xml - ${CMAKE_CURRENT_SOURCE_DIR}/../../../../lib/${PROJECT_NAME}.dll - DESTINATION ${CPACK_PACKAGE_CLI_FOLDER} - COMPONENT emgutf_binary) + DIRECTORY + ${CMAKE_CURRENT_SOURCE_DIR}/../../../../libs/Build/${PROJECT_NAME} + DESTINATION ${CPACK_PACKAGE_CLI_FOLDER}/Build + COMPONENT emgutf_binary + FILES_MATCHING + PATTERN "*.dll" + PATTERN "*.pdb" + PATTERN "*.xml") ENDIF()