Align package name to FindFlatBuffers.cmake (#5899)
authorAdam Oleksy <adam.oleksy@gmail.com>
Thu, 7 May 2020 19:22:12 +0000 (21:22 +0200)
committerGitHub <noreply@github.com>
Thu, 7 May 2020 19:22:12 +0000 (12:22 -0700)
commite84cbff673b59b37ab52d752679726d204861b33
tree131b143f0755330db1c7f35b5f7d46dfb84db89d
parentf94e6c84e06e760d58e90ca10909408444ca8546
Align package name to FindFlatBuffers.cmake (#5899)

This change is for fix warning:
```
CMake Warning (dev) at /home/aoleksy/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args`
  (flatbuffers) does not match the name of the calling package (FlatBuffers).
  This can lead to problems in calling code that expects `find_package`
  result variables (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  FindFlatBuffers.cmake:33 (find_package_handle_standard_args)
  CMakeLists.txt:6 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
```
CMake/FindFlatBuffers.cmake