forked from OSchip/llvm-project
Add hack to CMakeLists.txt so that StaticAnalyzer libraries find their corresponding headers.
This is a hack because we really should only search in the 'include/clang/StaticAnalyzer' directory if we are in 'lib/StaticAnalyzer'. My CMake knowledge is limited, so I appeal to anyone with more expertise. llvm-svn: 125252
This commit is contained in:
parent
f8cbac4b91
commit
4bd19da586
|
@ -124,6 +124,9 @@ macro(add_clang_library name)
|
|||
string( REGEX MATCHALL "/[^/]+" split_path ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
list( GET split_path -1 dir)
|
||||
file( GLOB_RECURSE headers
|
||||
../../../include/clang/StaticAnalyzer${dir}/*.h
|
||||
../../../include/clang/StaticAnalyzer${dir}/*.td
|
||||
../../../include/clang/StaticAnalyzer${dir}/*.def
|
||||
../../include/clang${dir}/*.h
|
||||
../../include/clang${dir}/*.td
|
||||
../../include/clang${dir}/*.def)
|
||||
|
|
Loading…
Reference in New Issue