summaryrefslogtreecommitdiff
path: root/libraries/flatbuffers/flatbuffers.patch
blob: ffa0a99208317de491dd54de6f6bd21f59946294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()