If CMAKE_BUILD_TYPE is missing, lib/cmake/flatbuffers/*-noconfig.cmake
are installed. They aren't used from other projects when other
projects use -DCMAKE_BUILD_TYPE=Release. Generally,
-DCMAKE_BUILD_TYPE=Release is used for package build. We already use
it in many packages:
$ grep CMAKE_BUILD_TYPE=Release */PKGBUILD | wc -l
164
If -DCMAKE_BUILD_TYPE=Release is specified,
lib/cmake/flatbuffers/*-release.cmake are installed. They are used from
other projects when other projects use -DCMAKE_BUILD_TYPE=Release.