Skip to content

Commit

Permalink
Fix code signing (#57)
Browse files Browse the repository at this point in the history
IB-6433

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma authored Jan 14, 2021
1 parent b48b78c commit 008a245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ if( APPLE )
install( TARGETS ${PROGNAME} DESTINATION /Library/PreferencePanes )

if(SIGNCERT)
add_custom_target( TARGET ${PROGNAME} POST_BUILD
add_custom_command( TARGET ${PROGNAME} POST_BUILD
COMMAND codesign -f --options=runtime -s "Developer ID Application: ${SIGNCERT}"
$<TARGET_BUNDLE_CONTENT_DIR:${PROGNAME}>/Resources/id-updater-helper
$<TARGET_FILE:${PROGNAME}>
$<TARGET_BUNDLE_DIR:${PROGNAME}>
)
endif()
add_custom_target( pkgbuild DEPENDS ${PROGNAME}
Expand Down

0 comments on commit 008a245

Please sign in to comment.