Skip to content

community/qt6-qttools: fix build with non-default clang

mio requested to merge mio/aports:qt6-qttools into master

Fix rebuild error with non-default clang.

CMake Error at /usr/lib/cmake/clang18/ClangConfig.cmake:19 (include):
  include could not find requested file:

    /usr/lib/cmake/clang/ClangTargets.cmake
Call Stack (most recent call first):
  cmake/FindWrapLibClang.cmake:17 (find_package)
  /usr/lib/cmake/Qt6/QtFindPackageHelpers.cmake:156 (find_package)
  configure.cmake:20 (qt_find_package)
  /usr/lib/cmake/Qt6/QtFeature.cmake:678 (include)
  src/CMakeLists.txt:18 (qt_feature_evaluate_features)


CMake Error at /usr/lib/cmake/clang18/ClangConfig.cmake:19 (include):
  include could not find requested file:

    /usr/lib/cmake/clang/ClangTargets.cmake
Call Stack (most recent call first):
  cmake/FindWrapLibClang.cmake:17 (find_package)
  /usr/lib/cmake/Qt6/QtFindPackageHelpers.cmake:156 (find_package)
  configure.cmake:20 (qt_find_package)
  /usr/lib/cmake/Qt6/QtModuleHelpers.cmake:670 (include)
  src/global/CMakeLists.txt:8 (qt_internal_add_module)

Merge request reports

Loading