summaryrefslogtreecommitdiffstats
path: root/java/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'java/CMakeLists.txt')
-rw-r--r--java/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index 327f8e0..460a955 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -308,7 +308,7 @@ if (${RELEASE_ID} IN_LIST DebianBasedOS)
message(" Depends on: ${CPACK_DEBIAN_PACKAGE_DEPENDS}\n")
elseif (${RELEASE_ID} IN_LIST RHBasedOS)
- set(CPACK_GENERATOR DEB)
+ set(CPACK_GENERATOR RPM)
# Excluding /usr/share/java top level directory due to conflict with javapackages-tools (openjdk dependency)
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/java")
set(CPACK_RPM_PACKAGE_NAME "${CPACK_PACKAGE_NAME}")