Look for Clang 16+ builtin dir in major-version subdirs
This fixes the following CMake configure error while building against current Clang git main version: CMake Error at plugins/clang/Locate_CLANG_BUILTIN_DIR.cmake:22 (message): Could not find Clang builtin include directory Don't attempt to remove "svn" from ${CLANG_VERSION}. 23c7fec5 intended to remove the "git" suffix in addition to the "svn" suffix, but in effect disabled removing the "svn" suffix by overwriting the CLANG_VERSION_CLEAN CMake variable. Since no one has noticed this mistake in almost 3 years, dropping the disabled "svn"-removing code should be fine.
parent
9913f734
Please register or sign in to comment