clazy 1.5 renamed its plugin from from ClangLazy.so to
ClazyPlugin.so and from clang-lazy to clazy.
Details
Details
- Reviewers
apol smartins - Commits
- R240:ba3341c83b18: Fix ENABLE_CLAZY option with clazy >= 1.5
Diff Detail
Diff Detail
- Repository
- R240 Extra CMake Modules
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Note: this will break with older clazy versions. I'm not sure how to prevent that.
One could argue that a developer interested in clazy should probably run the latest version anyway...
kde-modules/KDECMakeSettings.cmake | ||
---|---|---|
296–301 | You can use find_library(CLAZY ClazyPlugin${CMAKE_SHARED_LIBRARY_SUFFIX}) if(NOT CLAZY) .... else .... endif() |
Comment Actions
You also need to change '-Xclang -add-plugin -Xclang clang-lazy' to '-Xclang -add-plugin -Xclang clazy' for the plugin to actually be used.