Support for PKGBUILD packages and some CMake/CPACK config changes/tidying

This commit is contained in:
Nav
2022-05-07 15:37:03 +01:00
parent b19110ff62
commit 520efcaa7a
5 changed files with 133 additions and 58 deletions

View File

@@ -203,12 +203,4 @@ add_custom_command(
include(./Installing.cmake)
configure_file(
"${PROJECT_SOURCE_DIR}/Packaging.cmake"
"${PROJECT_BINARY_DIR}/Packaging.cmake"
)
set(CPACK_GENERATOR "DEB;RPM")
set(CPACK_PROJECT_CONFIG_FILE "${PROJECT_BINARY_DIR}/Packaging.cmake")
include(CPack)
include(./Packaging.cmake)