diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-11-21 16:43:22 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-11-22 15:54:26 +0100 |
commit | bf7ab7ba2b1ca952a62cef12d578795a332a12cd (patch) | |
tree | 4e4d30edb621be09af1aeeaf3dabb706e06f0525 /cmake/mbgl.cmake | |
parent | dff218c30e6628eb0fb9bd0023c05cceb16132cd (diff) | |
download | qtlocation-mapboxgl-bf7ab7ba2b1ca952a62cef12d578795a332a12cd.tar.gz |
[build] reduce framework size for Release builds on macOS
Diffstat (limited to 'cmake/mbgl.cmake')
-rw-r--r-- | cmake/mbgl.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake index f20f49004c..b2b959e6c1 100644 --- a/cmake/mbgl.cmake +++ b/cmake/mbgl.cmake @@ -35,6 +35,11 @@ function(create_source_groups target) endforeach() endfunction() +# This little macro lets you set any XCode specific property +macro(set_xcode_property TARGET XCODE_PROPERTY XCODE_VALUE) + set_property(TARGET ${TARGET} PROPERTY XCODE_ATTRIBUTE_${XCODE_PROPERTY} ${XCODE_VALUE}) +endmacro (set_xcode_property) + function(_write_xcconfig_var target var) get_property(result TARGET ${target} PROPERTY INTERFACE_${var} SET) if (result) |