summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2019-07-23 08:28:13 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2019-09-03 09:39:48 +0000
commite6d16b67471d6d044c485847882ce4ac7dea365f (patch)
tree1dc46d80da89c29ffe56fc1c487acd1a034f04f6 /cmake
parent82bcf4e9f54337faf24a7372cfd622632f4988f8 (diff)
downloadqt-creator-e6d16b67471d6d044c485847882ce4ac7dea365f.tar.gz
ClangTools: Support loading exported diagnostics
Add a new toolbar button to load diagnostics exported with $ clang-tidy -export-fixes=/path/to/file $ clazy-standalone -export-fixes=/path/to/file (master version) Change-Id: I8316fe0706a18222e68220ef4fbfdc7ae8d09804 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Findyaml-cpp.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/Findyaml-cpp.cmake b/cmake/Findyaml-cpp.cmake
index 4a5fdbb649..253cd2103d 100644
--- a/cmake/Findyaml-cpp.cmake
+++ b/cmake/Findyaml-cpp.cmake
@@ -15,6 +15,7 @@ if (NOT yaml-cpp_FOUND)
add_qtc_library(yaml-cpp
DEFINES YAML_CPP_DLL yaml_cpp_EXPORTS
INCLUDES ${YAML_SOURCE_DIR}/include
+ PUBLIC_DEFINES YAML_CPP_DLL
PUBLIC_INCLUDES ${YAML_SOURCE_DIR}/include
SOURCES
${YAML_SOURCE_DIR}/include/yaml-cpp