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 @@...@@ -6,11 +6,11 @@
6# CLANG_INCLUDE_DIRS6# CLANG_INCLUDE_DIRS
7# CLANG_LIBRARIES7# 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
11macro(FIND_AND_ADD_CLANG_LIB _libname_)11macro(FIND_AND_ADD_CLANG_LIB _libname_)
12 string(TOUPPER ${_libname_} _prettylibname_)12 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)
14 if(CLANG_${_prettylibname_}_LIB)14 if(CLANG_${_prettylibname_}_LIB)
15 set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})15 set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_${_prettylibname_}_LIB})
16 endif()16 endif()