Mercurial > mxe-octave
view src/qt6-qttools-1-libclang.patch @ 7239:4a1009853b43 release
Added tag octave-release-9.2.0 for changeset 137f17bc051e
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 01 Jun 2024 11:35:24 -0400 |
parents | a0e9deadb221 |
children |
line wrap: on
line source
Don't check for libclang when building without it. diff -urN qttools-everywhere-src-6.5.2/configure.cmake qttools-everywhere-src-6.5.2/configure.cmake.orig --- qttools-everywhere-src-6.5.2/configure.cmake.orig 2023-07-07 14:29:26.000000000 +0200 +++ qttools-everywhere-src-6.5.2/configure.cmake 2023-09-29 10:39:40.324294579 +0200 @@ -17,7 +17,9 @@ # Presumably because 6.0 ClangConfig.cmake files are not good enough? # In any case explicitly request a minimum version of 8.x for now, otherwise # building with CMake will fail at compilation time. +if (QT_FEATURE_clang) qt_find_package(WrapLibClang 8 PROVIDED_TARGETS WrapLibClang::WrapLibClang) +endif() # special case end if(TARGET WrapLibClang::WrapLibClang)