Add XCode system library path to fix --system-libclang building
This commit is contained in:
parent
37e8c861a6
commit
95860122fe
@ -198,7 +198,8 @@ if ( EXTERNAL_LIBCLANG_PATH OR USE_SYSTEM_LIBCLANG )
|
|||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/lib/llvm
|
/usr/lib/llvm
|
||||||
${SYS_LLVM_PATHS}
|
${SYS_LLVM_PATHS}
|
||||||
/Library/Developer/CommandLineTools/usr/lib )
|
/Library/Developer/CommandLineTools/usr/lib,
|
||||||
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib )
|
||||||
set( EXTERNAL_LIBCLANG_PATH ${TEMP} )
|
set( EXTERNAL_LIBCLANG_PATH ${TEMP} )
|
||||||
else()
|
else()
|
||||||
# For Macs, we do things differently; look further in this file.
|
# For Macs, we do things differently; look further in this file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user