diff options
author | Jason Wray <jason@mapbox.com> | 2018-12-03 21:53:44 -0500 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2018-12-05 12:34:39 -0500 |
commit | 29c6647e139635a0abdf92e85698921ffdf94e72 (patch) | |
tree | 08aa847f5f8d8dd4b91748546e62c93f21a71e4d /cmake | |
parent | ffe0624d77f54e00e141b6c6f85f159a28cf0e90 (diff) | |
download | qtlocation-mapboxgl-29c6647e139635a0abdf92e85698921ffdf94e72.tar.gz |
[core, build] Disable GCC_GENERATE_DEBUGGING_SYMBOLS for Release
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/mbgl.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake index 8eb065dd09..8e6f11c823 100644 --- a/cmake/mbgl.cmake +++ b/cmake/mbgl.cmake @@ -211,8 +211,8 @@ function(initialize_xcode_cxx_build_settings target) # -flto set_xcode_property(${target} LLVM_LTO $<$<OR:$<CONFIG:Release>,$<CONFIG:RelWithDebInfo>>:YES>) - # Make releases debuggable. - set_xcode_property(${target} GCC_GENERATE_DEBUGGING_SYMBOLS YES) + # Make all build configurations debuggable — except Release. + set_xcode_property(${target} GCC_GENERATE_DEBUGGING_SYMBOLS $<$<NOT:$<CONFIG:Release>>:YES>) endfunction() # CMake 3.1 does not have this yet. |