CXX_CLANG_TIDY does not report when clang-tidy returns an error
I've noticed that `CXX_CLANG_TIDY` doesn't work correctly if I specify several arguments that contain the '*' symbol. Here's an example: ``` set_property( TARGET ${PROJECT_NAME} PROPERTY CXX_CLANG_TIDY clang-tidy;-checks=*;-warnings-as-errors=*) ``` Building a target with this property produces no output. It seems like clang-tidy doesn't get called. However, if I remove *-warnings-as-errors*, everything works fine. The issue can also be reproduced with *-header-filter* and probably other options that take globs as arguments. This makes `CXX_CLANG_TIDY` unusable for all integration scenarios except the most simple ones. The issue was previously reported here: - http://stackoverflow.com/questions/40433573/how-can-i-specify-additional-arguments-for-use-with-cmake-cxx-clang-tidy-variabl - http://public.kitware.com/pipermail/cmake/2016-November/064501.html
issue