зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #3876 from nextcloud/bugfix/macOsBuildFailure
fix macOs build after targets name are not changed by branding
This commit is contained in:
Коммит
de2b25b563
|
@ -501,12 +501,12 @@ if(BUILD_OWNCLOUD_OSX_BUNDLE AND NOT BUILD_LIBRARIES_ONLY)
|
|||
set(NO_STRIP "")
|
||||
endif()
|
||||
|
||||
add_custom_command(TARGET ${APPLICATION_EXECUTABLE} POST_BUILD
|
||||
add_custom_command(TARGET nextcloud POST_BUILD
|
||||
COMMAND "${MACDEPLOYQT_EXECUTABLE}"
|
||||
"$<TARGET_FILE_DIR:${APPLICATION_EXECUTABLE}>/../.."
|
||||
"$<TARGET_FILE_DIR:nextcloud>/../.."
|
||||
-qmldir=${CMAKE_SOURCE_DIR}/src/gui
|
||||
-always-overwrite
|
||||
-executable="$<TARGET_FILE_DIR:${APPLICATION_EXECUTABLE}>/${cmd_NAME}"
|
||||
-executable="$<TARGET_FILE_DIR:nextcloud>/${cmd_NAME}"
|
||||
${NO_STRIP}
|
||||
COMMAND "${CMAKE_COMMAND}"
|
||||
-E rm -rf "${BIN_OUTPUT_DIRECTORY}/${OWNCLOUD_OSX_BUNDLE}/Contents/PlugIns/bearer"
|
||||
|
|
Загрузка…
Ссылка в новой задаче