We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6c6d21 commit b769e25Copy full SHA for b769e25
cmake/prometheus-cpp.cmake
@@ -45,6 +45,12 @@ if(NOT prometheus-cpp_FOUND)
45
46
# Set the prometheus-cpp_VERSION variable from the git tag.
47
string(REGEX REPLACE "^v([0-9]+\\.[0-9]+\\.[0-9]+)$" "\\1" prometheus-cpp_VERSION "${prometheus-cpp_GIT_TAG}")
48
+
49
+ # Disable iwyu and clang-tidy
50
+ foreach(_prometheus_target core pull civetweb)
51
+ set_target_properties(${_prometheus_target} PROPERTIES CXX_INCLUDE_WHAT_YOU_USE ""
52
+ CXX_CLANG_TIDY "")
53
+ endforeach()
54
endif()
55
56
if(NOT TARGET prometheus-cpp::core OR
0 commit comments