cmake: Disabled -Werror and -pedantic-errors if gmock or gtest integration is enabled.
Merge pull request #87 from yocchi/cmake-fix-gmock-compile-error

cmake: Disabled -Werror and -pedantic-errors if gmock or gtest integration is enabled