Merge pull request #793 from inDigiNeous/master

Add XCode system library path to fix --system-libclang building
This commit is contained in:
Val Markovic 2014-01-22 12:30:26 -08:00
commit 27ac8bcd0a

View File

@ -198,7 +198,8 @@ if ( EXTERNAL_LIBCLANG_PATH OR USE_SYSTEM_LIBCLANG )
/usr/lib
/usr/lib/llvm
${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} )
else()
# For Macs, we do things differently; look further in this file.