mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
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.
This commit is contained in:
parent
66f8cdf39d
commit
1010bf7a07
1 changed files with 20 additions and 0 deletions
20
srcpkgs/flatbuffers/patches/install.patch
Normal file
20
srcpkgs/flatbuffers/patches/install.patch
Normal file
|
@ -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()
|
||||
|
Loading…
Add table
Reference in a new issue