feat: working rpm and targz packages with opDefs library
This commit is contained in:
12
cmake/CPackProjectConfig.cmake
Normal file
12
cmake/CPackProjectConfig.cmake
Normal 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()
|
||||
|
||||
Reference in New Issue
Block a user