Deployment postprocessing should be enabled only for release builds

This commit is contained in:
amzn-sj
2021-05-04 09:55:07 -07:00
parent 70bd3ea0ff
commit 1474b56e12
+3 -1
View File
@@ -16,7 +16,9 @@ function(ly_apply_platform_properties target)
set_target_properties(${target}
PROPERTIES
XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING "YES"
XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING[variant=debug] "NO"
XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING[variant=profile] "NO"
XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING[variant=release] "YES"
)
if(${target_type} STREQUAL "SHARED_LIBRARY")