Skip to content

Commit 0e0ff06

Browse files
committed
install builtin headers in a place searched by the tool
1 parent 5846226 commit 0e0ff06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tool/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ install(TARGETS O2codecheck
3434

3535
#install(PROGRAMS clang-tidy-diff.py DESTINATION share/clang)
3636
install(PROGRAMS run_O2CodeChecker.py DESTINATION bin)
37+
38+
# we need to install the builtin headers in a path which is searched by the tool
39+
# FIXME: a soft link would be better
40+
install(DIRECTORY ${LLVM_LIBRARY_DIR}/clang/${LLVM_PACKAGE_VERSION}/include DESTINATION lib/clang/${LLVM_PACKAGE_VERSION})

0 commit comments

Comments
 (0)