Trying to help cmake find libclang.so on Arch

Fixes #11. Also relevant to issue #28.
This commit is contained in:
Strahinja Val Markovic 2013-02-09 11:11:18 -08:00
parent 4b5cbdbc9d
commit 61b4808513

View File

@ -171,7 +171,9 @@ endif()
if ( EXTERNAL_LIBCLANG_PATH OR USE_SYSTEM_LIBCLANG )
if ( USE_SYSTEM_LIBCLANG )
# Need TEMP because find_library does not work with an option variable
find_library( TEMP clang )
find_library( TEMP clang PATHS
/usr/lib
/usr/lib/llvm )
set( EXTERNAL_LIBCLANG_PATH ${TEMP} )
else()
# For Macs, we do things differently; look further in this file.