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 facaa36 commit 16130bbCopy full SHA for 16130bb
cmake/nlohmann-json.cmake
@@ -34,6 +34,12 @@ if(NOT nlohmann_json_FOUND)
34
35
# Set the nlohmann_json_VERSION variable from the git tag.
36
string(REGEX REPLACE "^v([0-9]+\\.[0-9]+\\.[0-9]+)$" "\\1" nlohmann_json_VERSION "${nlohmann-json_GIT_TAG}")
37
+
38
+ #Disable iwyu and clang-tidy
39
+ if(TARGET nlohmann_json)
40
+ set_target_properties(nlohmann_json PROPERTIES CXX_INCLUDE_WHAT_YOU_USE ""
41
+ CXX_CLANG_TIDY "")
42
+ endif()
43
endif()
44
45
if(NOT TARGET nlohmann_json::nlohmann_json)
0 commit comments