Skip to content

Commit

Permalink
Exclude Unspecified component package from being built
Browse files Browse the repository at this point in the history
related_to #120
  • Loading branch information
popescu-v committed Jan 12, 2024
1 parent c41e459 commit 0a29212
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ set(CPACK_RPM_KHIOPS_POST_INSTALL_SCRIPT_FILE "${PROJECT_SOURCE_DIR}/packaging/l
set(CPACK_RPM_KNI_POST_INSTALL_SCRIPT_FILE "${PROJECT_SOURCE_DIR}/packaging/linux/redhat/kni.post")
set(CPACK_RPM_KNI_POSTUN_INSTALL_SCRIPT_FILE "${PROJECT_SOURCE_DIR}/packaging/linux/redhat/kni.postun")

get_cmake_property(CPACK_COMPONENTS_ALL COMPONENTS)
list(REMOVE_ITEM CPACK_COMPONENTS_ALL "Unspecified")

include(CPack)

# Check if all files are installed within a component. If not, these files will be in the package
Expand Down

0 comments on commit 0a29212

Please sign in to comment.