cmake HAVE_PEDANTIC examples

mysql/mysql-router ext/protobuf/CMakeLists.txt :85

CHECK_CXX_COMPILER_FLAG("-Wpedantic" HAVE_PEDANTIC)

mysql/mysql-router src/mock_server/src/CMakeLists.txt :57

check_cxx_compiler_flag("-Wpedantic" HAVE_PEDANTIC)

mysql/mysql-router src/plugin_info/CMakeLists.txt :42

check_cxx_compiler_flag("-Wpedantic" HAVE_PEDANTIC)

mysql/mysql-router src/plugin_info/tests/CMakeLists.txt :44

check_cxx_compiler_flag("-Wpedantic" HAVE_PEDANTIC)