diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-11 00:10:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-11 00:10:45 +0100 |
commit | 82002be95de85b10f5953f5e10ced81a40ec1fba (patch) | |
tree | 3e95915eeab9799a67d9b0c508260ca31a4694ab /dev-qt/qt-creator/files/qt-creator-11.0.2-yaml-cpp-0.8.patch | |
parent | fc6ff4de73d70ead4ce3a005b4f5328f2b23129b (diff) |
gentoo auto-resync : 11:10:2023 - 00:10:45
Diffstat (limited to 'dev-qt/qt-creator/files/qt-creator-11.0.2-yaml-cpp-0.8.patch')
-rw-r--r-- | dev-qt/qt-creator/files/qt-creator-11.0.2-yaml-cpp-0.8.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-qt/qt-creator/files/qt-creator-11.0.2-yaml-cpp-0.8.patch b/dev-qt/qt-creator/files/qt-creator-11.0.2-yaml-cpp-0.8.patch deleted file mode 100644 index c06a2733b484..000000000000 --- a/dev-qt/qt-creator/files/qt-creator-11.0.2-yaml-cpp-0.8.patch +++ /dev/null @@ -1,29 +0,0 @@ -https://bugs.gentoo.org/914732 -https://bugreports.qt.io/browse/QTCREATORBUG-29537 - -https://github.com/qt-creator/qt-creator/commit/170f9acfb41704b68e2ba98690fd6d5e98addd85 -From: Eike Ziller <eike.ziller@qt.io> -Date: Thu, 24 Aug 2023 13:41:33 +0200 -Subject: [PATCH] ClangTools: Add support for yaml-cpp 0.8 - -They renamed their target from `yaml-cpp` -to `yaml-cpp::yaml-cpp` - -Still support < 0.8 though. ---- a/cmake/Findyaml-cpp.cmake -+++ b/cmake/Findyaml-cpp.cmake -@@ -16,5 +16,13 @@ - find_path(yaml_cpp_include_dir yaml-cpp/yaml.h) - endif() -- set_target_properties(yaml-cpp PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${yaml_cpp_include_dir}") -+ if(TARGET yaml-cpp::yaml-cpp) -+ # yaml-cpp >= 0.8 -+ set_property(TARGET yaml-cpp::yaml-cpp PROPERTY IMPORTED_GLOBAL TRUE) -+ add_library(yaml-cpp ALIAS yaml-cpp::yaml-cpp) -+ set(yaml-cpp_TARGET yaml-cpp::yaml-cpp) -+ else() -+ set(yaml-cpp_TARGET yaml-cpp) -+ endif() -+ set_target_properties(${yaml-cpp_TARGET} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${yaml_cpp_include_dir}") - else() - if(TARGET yaml-cpp) |