Skip to content

Commit

Permalink
Fixed packaging Emgu.TF.runtime.maui.android binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
emgucv committed Oct 1, 2024
1 parent 48fde49 commit 0e549dd
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Emgu.TF.Runtime/Maui/Android/Full/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 0e549dd

Please sign in to comment.