We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a42c4eb commit 7135abcCopy full SHA for 7135abc
1 file changed
cmake/O2PhysicsAddWorkflow.cmake
@@ -51,6 +51,13 @@ function(o2physics_add_dpl_workflow baseTargetName)
51
target_precompile_headers(${targetExeName} REUSE_FROM ${A_REUSE_FROM})
52
endif()
53
54
+ if(APPLE)
55
+ add_custom_command(
56
+ TARGET ${targetExeName} POST_BUILD
57
+ COMMAND codesign --sign - --verbose=4 --options=runtime --entitlements ${CMAKE_SOURCE_DIR}/entitlements.plist --deep --force $<TARGET_FILE:${targetExeName}>
58
+ VERBATIM)
59
+ endif()
60
+
61
set(jsonFile $<TARGET_FILE_BASE_NAME:${targetExeName}>.json)
62
63
add_custom_command(
0 commit comments