add rpm support
This commit is contained in:
parent
f99d5a8356
commit
af61d914f0
|
@ -20,7 +20,7 @@ set(CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS ON)
|
|||
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
|
||||
|
||||
if(LINUX)
|
||||
set(CPACK_GENERATOR "DEB;STGZ;TGZ")
|
||||
set(CPACK_GENERATOR "DEB;RPM;STGZ;TGZ")
|
||||
elseif(APPLE)
|
||||
set(CPACK_GENERATOR "STGZ;TGZ")
|
||||
elseif(MSVC OR MSYS OR MINGW)
|
||||
|
|
Loading…
Reference in New Issue