--- flatbuffers-1.9.0/CMakeLists.txt.orig	2018-05-30 16:30:33.267884600 -0400
+++ flatbuffers-1.9.0/CMakeLists.txt	2018-05-30 16:32:22.419530500 -0400
@@ -309,14 +309,14 @@
       install(
         TARGETS flatbuffers_shared EXPORT FlatbuffersSharedTargets
         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-        RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}
+        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
         LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
       )
     else()
       install(
         TARGETS flatbuffers_shared EXPORT FlatbuffersSharedTargets
         ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
-        RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}
+        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
         LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
         INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
       )
