Add XCode system library path to fix --system-libclang building

This commit is contained in:
Sakari Lehtonen 2014-01-21 06:14:14 +02:00
parent 37e8c861a6
commit 95860122fe

View File

@ -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.