Set MACOSX_DEPLOYMENT_TARGET flag.

Make sure we support older version of macOS (10.9+) when building clangd with
the latest macOS (10.15).
This commit is contained in:
Haojian Wu 2020-08-27 14:14:58 +02:00 committed by Sam McCall
parent 9a0cad43e8
commit 40dcef1871

View File

@ -55,6 +55,7 @@ jobs:
os: macos-latest
preinstall: brew install ninja zlib p7zip
cflags: -O3 -gline-tables-only -DNDEBUG
env: MACOSX_DEPLOYMENT_TARGET=10.9
cmake: >
"-DCMAKE_C_COMPILER=clang"
"-DCMAKE_CXX_COMPILER=clang++"