We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b07995 commit e07e87cCopy full SHA for e07e87c
src/StaticAnalyzers.cmake
@@ -51,7 +51,7 @@ macro(enable_clang_tidy)
51
if(CLANGTIDY_CACHE)
52
# use clang-tidy-cache if found
53
set($ENV{CLANG_TIDY_CACHE_BINARY} ${CLANGTIDY_CACHE})
54
- set(CLANGTIDY ${CLANGTIDY_CACHE})
+ set(CLANGTIDY ${CLANGTIDY_CACHE} -p "${CMAKE_CURRENT_BINARY_DIR}")
55
else()
56
# otherwise use clang-tidy directly
57
find_program(CLANGTIDY clang-tidy)
0 commit comments