]> git.pld-linux.org Git - packages/qt-creator.git/blobdiff - qt-creator-yaml-cpp.patch
- updated to 11.0.2, added yaml-cpp patch to fix build with yaml-cpp 0.8
[packages/qt-creator.git] / qt-creator-yaml-cpp.patch
diff --git a/qt-creator-yaml-cpp.patch b/qt-creator-yaml-cpp.patch
new file mode 100644 (file)
index 0000000..bbe89b1
--- /dev/null
@@ -0,0 +1,11 @@
+--- qt-creator-opensource-src-11.0.2/cmake/Findyaml-cpp.cmake.orig     2023-08-14 03:53:08.000000000 +0200
++++ qt-creator-opensource-src-11.0.2/cmake/Findyaml-cpp.cmake  2023-08-30 21:30:11.818177005 +0200
+@@ -15,7 +15,7 @@ if (yaml-cpp_FOUND)
+     unset(yaml_cpp_include_dir CACHE)
+     find_path(yaml_cpp_include_dir yaml-cpp/yaml.h)
+   endif()
+-  set_target_properties(yaml-cpp PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${yaml_cpp_include_dir}")
++  set_target_properties(yaml-cpp::yaml-cpp PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${yaml_cpp_include_dir}")
+ else()
+   if(TARGET yaml-cpp)
+     return()
This page took 0.250884 seconds and 4 git commands to generate.