Skip to content

Commit

Permalink
Testing alternative fixup bundle syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Mar 4, 2023
1 parent 060b280 commit fc9e44a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Sources/Plasma/Apps/plClient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,11 @@ endif(PLASMA_EXTERNAL_RELEASE)

if(APPLE)
install(
CODE "include(\"BundleUtilities\")
fixup_bundle(\"${CMAKE_INSTALL_PREFIX}/client/$<TARGET_PROPERTY:plClient,OUTPUT_NAME>.app\" \"\" \"${searchDirs}\" IGNORE_ITEM Python)
execute_process(COMMAND \"codesign\" \"--remove-signature\" \"--deep\" \"-f\" \"${CMAKE_INSTALL_PREFIX}/client/$<TARGET_PROPERTY:plClient,OUTPUT_NAME>.app\")
"
CODE [[
include("BundleUtilities")
fixup_bundle("${CMAKE_INSTALL_PREFIX}/client/$<TARGET_PROPERTY:plClient,OUTPUT_NAME>.app" "" "${searchDirs}" IGNORE_ITEM Python)
execute_process(COMMAND "codesign" "--remove-signature" "--deep" "-f" "${CMAKE_INSTALL_PREFIX}/client/$<TARGET_PROPERTY:plClient,OUTPUT_NAME>.app")
]]
DESTINATION client
)
endif()
Expand Down

0 comments on commit fc9e44a

Please sign in to comment.