mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
cmake: fix OSX bundle creation
This commit is contained in:
parent
3497c5307c
commit
db29a61fbf
2 changed files with 3 additions and 2 deletions
1
dist/mac/bundle.cmake
vendored
1
dist/mac/bundle.cmake
vendored
|
@ -1,2 +1,3 @@
|
||||||
|
set(BU_CHMOD_BUNDLE_ITEMS ON)
|
||||||
include(BundleUtilities)
|
include(BundleUtilities)
|
||||||
fixup_bundle("$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/qbittorrent.app" "" "")
|
fixup_bundle("$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/qbittorrent.app" "" "")
|
||||||
|
|
|
@ -180,6 +180,6 @@ install(TARGETS ${QBT_TARGET_NAME}
|
||||||
BUNDLE DESTINATION .
|
BUNDLE DESTINATION .
|
||||||
COMPONENT runtime)
|
COMPONENT runtime)
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE AND GUI)
|
||||||
install(SCRIPT ${OSX_RES_SRC_DIR}/bundle.cmake)
|
install(SCRIPT ${OSX_RES_SRC_DIR}/bundle.cmake)
|
||||||
endif (APPLE)
|
endif (APPLE AND GUI)
|
||||||
|
|
Loading…
Reference in a new issue