authorgravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2016-02-08 14:34:51-07:00
committergravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2016-02-08 14:34:51-07:00
log62a689f7f534beb237c634683cee50da86c439f0
tree0a31bb4ee579dae13f398071db91dde0f1b05138
parent430d0dfcb24178fd079be5d6988298bffec8beab

fix some of the ubuntu build trouble


1 files changed, 2 insertions(+), 2 deletions(-)

cmake/Findclang.cmake+2-2
......@@ -6,11 +6,11 @@
66# CLANG_INCLUDE_DIRS
77# CLANG_LIBRARIES
88
9find_path(CLANG_INCLUDE_DIRS NAMES clang/Frontend/ASTUnit.h)
9find_path(CLANG_INCLUDE_DIRS NAMES clang/Frontend/ASTUnit.h PATHS /usr/lib/llvm-3.7/include)
1010
1111macro(FIND_AND_ADD_CLANG_LIB _libname_)
1212 string(TOUPPER ${_libname_} _prettylibname_)
13 find_library(CLANG_${_prettylibname_}_LIB NAMES ${_libname_})
13 find_library(CLANG_${_prettylibname_}_LIB NAMES ${_libname_} PATHS /usr/lib/llvm-3.7/lib)
1414 if(CLANG_${_prettylibname_}_LIB)
1515 set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})
1616 endif()