Browse Source

cmake: fix OSX bundle creation

adaptive-webui-19844
Eugene Shalygin 8 years ago
parent
commit
b2ff058bc0
  1. 1
      dist/mac/bundle.cmake
  2. 4
      src/app/CMakeLists.txt

1
dist/mac/bundle.cmake vendored

@ -1,2 +1,3 @@ @@ -1,2 +1,3 @@
set(BU_CHMOD_BUNDLE_ITEMS ON)
include(BundleUtilities)
fixup_bundle("$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/qbittorrent.app" "" "")

4
src/app/CMakeLists.txt

@ -172,6 +172,6 @@ install(TARGETS ${QBT_TARGET_NAME} @@ -172,6 +172,6 @@ install(TARGETS ${QBT_TARGET_NAME}
BUNDLE DESTINATION .
COMPONENT runtime)
if (APPLE)
if (APPLE AND GUI)
install(SCRIPT ${OSX_RES_SRC_DIR}/bundle.cmake)
endif (APPLE)
endif (APPLE AND GUI)

Loading…
Cancel
Save