Don't enable "warning" level messages.

They are not supported on all versions
Merge pull request #2 from smspillaz/cppcheck-target-cmake.item_2

Don't enable "warning" level messages.