Cant build the linux installer after adding new module (ArcGis) ""file paths to dependencies are not supported"

Hi all, I have added ArcGis 3d maps in a qt 6.6.3 QGroundControl (master) project, app runs fine from qtcreator, but if I want to create the .appimage, and I add “–install” as an argument, It fails and I get the issue: file paths to dependencies are not supported". I must specify that the arcgis sdk is located in another folder outside of qgroundcontrol projects folder. Can anyone help me? Thanks!

I am including the ArcGis module this way:
in project’s CMakeLists.txt:

“list(APPEND CMAKE_MODULE_PATH “${CMAKE_SOURCE_DIR}/src/Arcgis_3d_cmake/cmake/”)”
“find_package(ArcGISRuntime 200.5.0 COMPONENTS REQUIRED Cpp)”

“if(DEFINED ArcGISRuntime_LIBRARIES)
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${ArcGISRuntime_LIBRARIES}
$<TARGET_FILE_DIR:${PROJECT_NAME}>)
endif()”

" PRIVATE
Qt6::Core
Qt6::Quick
Qt6::Multimedia
Qt6::Positioning
Qt6::Sensors
Qt6::WebSockets
ArcGISRuntime::Cpp"