Trying to help cmake find libclang.so on Arch
Fixes #11. Also relevant to issue #28.
This commit is contained in:
parent
4b5cbdbc9d
commit
61b4808513
@ -171,7 +171,9 @@ endif()
|
|||||||
if ( EXTERNAL_LIBCLANG_PATH OR USE_SYSTEM_LIBCLANG )
|
if ( EXTERNAL_LIBCLANG_PATH OR USE_SYSTEM_LIBCLANG )
|
||||||
if ( USE_SYSTEM_LIBCLANG )
|
if ( USE_SYSTEM_LIBCLANG )
|
||||||
# Need TEMP because find_library does not work with an option variable
|
# 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} )
|
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…
Reference in New Issue
Block a user