summaryrefslogtreecommitdiff
path: root/libraries/flatbuffers/flatbuffers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/flatbuffers/flatbuffers.patch')
-rw-r--r--libraries/flatbuffers/flatbuffers.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/libraries/flatbuffers/flatbuffers.patch b/libraries/flatbuffers/flatbuffers.patch
new file mode 100644
index 0000000000..ffa0a99208
--- /dev/null
+++ b/libraries/flatbuffers/flatbuffers.patch
@@ -0,0 +1,19 @@
+diff -ur flatbuffers-1.5.0.old/CMakeLists.txt flatbuffers-1.5.0/CMakeLists.txt
+--- flatbuffers-1.5.0.old/CMakeLists.txt 2017-01-03 20:56:44.000000000 -0200
++++ flatbuffers-1.5.0/CMakeLists.txt 2017-01-05 18:41:09.742061141 -0200
+@@ -224,13 +224,13 @@
+ if(FLATBUFFERS_INSTALL)
+ install(DIRECTORY include/flatbuffers DESTINATION include)
+ if(FLATBUFFERS_BUILD_FLATLIB)
+- install(TARGETS flatbuffers DESTINATION lib)
++ install(TARGETS flatbuffers DESTINATION lib${LIB_SUFFIX})
+ endif()
+ if(FLATBUFFERS_BUILD_FLATC)
+ install(TARGETS flatc DESTINATION bin)
+ endif()
+ if(FLATBUFFERS_BUILD_SHAREDLIB)
+- install(TARGETS flatbuffers_shared DESTINATION lib)
++ install(TARGETS flatbuffers_shared DESTINATION lib${LIB_SUFFIX})
+ endif()
+ endif()
+