Skip to content

Commit

Permalink
Fix conflict installation for generated RPM
Browse files Browse the repository at this point in the history
Fix conflict with system filesystem package in Fedora. Thanks to nikkej
for reporting.
Closes #26.
  • Loading branch information
winterheart committed Aug 28, 2020
1 parent 0743bba commit 68a7a8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ project(broadcom-bt-firmware
)

set(CMAKE_INSTALL_PREFIX /)
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/lib;/lib/firmware")
install(DIRECTORY brcm DESTINATION lib/firmware FILES_MATCHING PATTERN "*.hcd")
install(FILES DEVICES.md README.md LICENSE.broadcom_bcm20702 LICENSE.MIT.txt
DESTINATION usr/share/doc/${CMAKE_PROJECT_NAME}-${CMAKE_PROJECT_VERSION})
Expand Down

0 comments on commit 68a7a8a

Please sign in to comment.