Skip to content

Instantly share code, notes, and snippets.

@x100ex
Last active September 21, 2020 09:41
Show Gist options
  • Save x100ex/51ccea26b6f238b45036109d3a590779 to your computer and use it in GitHub Desktop.
Save x100ex/51ccea26b6f238b45036109d3a590779 to your computer and use it in GitHub Desktop.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,7 +173,7 @@
ADD_CUSTOM_COMMAND(
TARGET ${target}
POST_BUILD
- COMMAND codesign --force --deep --options runtime --sign "${MAC_CODESIGN_ID}" $<TARGET_FILE:${target}>
+ COMMAND codesign --force --deep --sign "${MAC_CODESIGN_ID}" $<TARGET_FILE:${target}>
VERBATIM
)
ENDIF()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment