Closed BurningEnlightenment closed 4 months ago
Oh my god. I didn't realize that the error comes from within vcpkg install
. The only possible fix without upgrading to clang-17 is to add set(CMAKE_CXX_SCAN_FOR_MODULES 0)
to a CMake toolchain file and use that from a custom vcpkg triplet. blergh.
I'm unsure whether this action is at fault or the Problem is caused by
get-cmake
. However, I encountered a very weird situation with the following workflow setup while targetting clang-16 on Ubuntu 22.04:The pipeline fails with the output:
Note how the command (correctly) invokes
/home/runner/work/_temp/1334830730/cmake-3.22.6-linux-x86_64/bin/cmake
, but CMake uses the module/usr/local/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake
.I have no idea how this can even happen 😅