feat: working rpm and targz packages with opDefs library

This commit is contained in:
parker
2025-08-12 22:22:46 +01:00
parent b832b37341
commit 3557c4d4e7
6 changed files with 113 additions and 28 deletions

View File

@@ -0,0 +1,12 @@
if (CPACK_GENERATOR MATCHES "RPM")
# rpm specific config
if(UNIX)
set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
endif(UNIX)
elseif(CPACK_GENERATOR MATCHES "TGZ")
# tgz specific config
endif()