Skip to content

Commit 6e445d1

Browse files
committed
Build details for SL
1 parent 62c41f3 commit 6e445d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,13 @@ if(EXISTS "/etc/redhat-release")
8585
set(CPACK_SYSTEM_NAME "fedora")
8686
endif()
8787
endif()
88-
else()
88+
if(LINUX_ISSUE MATCHES "Scientific")
89+
set(CPACK_GENERATOR "RPM")
90+
set(CPACK_SYSTEM_NAME "scientific")
91+
set(CPACK_RPM_PACKAGE_REQUIRES "python-libs, pcre, gmp, libuuid, sqlite, gtkmm30, boost-system, boost-filesystem, boost-program-options, boost-regex, libstdc++, python-matplotlib, dvipng, texlive")
92+
message("-- This is a Scientific Linux system")
93+
endif()
94+
else()
8995
if(EXISTS "/etc/issue")
9096
file(READ "/etc/issue" LINUX_ISSUE)
9197
if(LINUX_ISSUE MATCHES "openSUSE")

0 commit comments

Comments
 (0)