From 1010bf7a075bd81538bc8843bd294476c05cb8de Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 5 Feb 2019 14:28:39 +0100 Subject: [PATCH] flatbuffers: make sure all files are installed The project seems to be restricting installation of certain components to the Release target, while we switched to the RelWithDebInfo target a while ago. Patch the build system so that things are still installed and packaging doesn't fail. --- srcpkgs/flatbuffers/patches/install.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/flatbuffers/patches/install.patch diff --git a/srcpkgs/flatbuffers/patches/install.patch b/srcpkgs/flatbuffers/patches/install.patch new file mode 100644 index 00000000000..6669eaffaa8 --- /dev/null +++ b/srcpkgs/flatbuffers/patches/install.patch @@ -0,0 +1,20 @@ +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -320,7 +320,7 @@ if(FLATBUFFERS_INSTALL) + install( + TARGETS flatc EXPORT FlatcTargets + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +- CONFIGURATIONS Release ++ CONFIGURATIONS Release RelWithDebInfo + ) + + install( +@@ -328,7 +328,7 @@ if(FLATBUFFERS_INSTALL) + FILE FlatcTargets.cmake + NAMESPACE flatbuffers:: + DESTINATION ${FB_CMAKE_DIR} +- CONFIGURATIONS Release ++ CONFIGURATIONS Release RelWithDebInfo + ) + endif() +