Skip to content

Commit

Permalink
build: MUSL builds can't have plugins
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr authored and poiana committed Apr 22, 2022
1 parent d443bcf commit 2c3c8b9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/modules/CPackConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@ set(CPACK_PACKAGE_RELOCATABLE "OFF")
set(CPACK_INSTALL_CMAKE_PROJECTS
"${CMAKE_CURRENT_BINARY_DIR};${FALCO_COMPONENT_NAME};${FALCO_COMPONENT_NAME};/"
"${CMAKE_CURRENT_BINARY_DIR};${DRIVER_COMPONENT_NAME};${DRIVER_COMPONENT_NAME};/"
"${CMAKE_CURRENT_BINARY_DIR};${PLUGINS_COMPONENT_NAME};${PLUGINS_COMPONENT_NAME};/"
)
if(NOT MUSL_OPTIMIZED_BUILD) # static builds do not have plugins
list(APPEND CPACK_INSTALL_CMAKE_PROJECTS
"${CMAKE_CURRENT_BINARY_DIR};${PLUGINS_COMPONENT_NAME};${PLUGINS_COMPONENT_NAME};/"
)
endif()

if(NOT CPACK_GENERATOR)
set(CPACK_GENERATOR DEB RPM TGZ)
Expand Down

0 comments on commit 2c3c8b9

Please sign in to comment.