diff options
author | Jason Wray <friedbunny@users.noreply.github.com> | 2019-03-04 15:59:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 15:59:01 -0800 |
commit | 05026b704adcbe97c923989b3e2e46feb4fdc7ee (patch) | |
tree | 96ceb42a79025f3d5a269b72efff88da41c60008 /cmake | |
parent | 7b7ad9d39b4e5427dc1ce10dbddf4fbe2fc7e268 (diff) | |
download | qtlocation-mapboxgl-05026b704adcbe97c923989b3e2e46feb4fdc7ee.tar.gz |
[build, darwin] Disable Xcode indexing-while-compiling on CI
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/mbgl.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/mbgl.cmake b/cmake/mbgl.cmake index 436574a49b..ef948e6caf 100644 --- a/cmake/mbgl.cmake +++ b/cmake/mbgl.cmake @@ -218,6 +218,10 @@ function(initialize_xcode_cxx_build_settings target) # Make all build configurations debuggable — except Release. set_xcode_property(${target} GCC_GENERATE_DEBUGGING_SYMBOLS $<$<NOT:$<CONFIG:Release>>:YES>) + + if (DEFINED ENV{CI}) + set_xcode_property(${target} COMPILER_INDEX_STORE_ENABLE NO) + endif() endfunction() # CMake 3.1 does not have this yet. |