Ensure that cache variable is set when not building introspection

This commit is contained in:
Stephen Kelly 2021-03-14 22:44:38 +00:00
parent 74506e6a05
commit 6b010c6f6e
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ NodeIntrospection::GetLocations(clang::DynTypedNode const &) {
} // namespace clang
"
)
set(CLANG_TOOLING_BUILD_AST_INTROSPECTION "OFF" CACHE BOOL "")
else()
# The generation of ASTNodeAPI.json takes a long time in a
# Debug build due to parsing AST.h. Disable the processing