Skip to content

Commit

Permalink
correct HCC package requirements for centos 7
Browse files Browse the repository at this point in the history
  • Loading branch information
David Salinas authored and scchan committed Apr 16, 2020
1 parent 3e0361b commit ce78fa2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -605,9 +605,9 @@ if("${DISTRO_ID}" MATCHES "opensuse" OR
"${DISTRO_ID}" MATCHES "suse" OR
"${DISTRO_ID}" MATCHES "sles" )
set(HCC_GENERAL_RPM_DEP "coreutils, findutils, libelf-devel, pciutils, file, perl-File-Copy-Recursive, perl-File-Listing, perl-File-Which")
elseif( "${DISTRO_ID}" MATCHES "centos" OR
"${DISTRO_ID}" MATCHES "redhatenterpriseserver" AND
"${DISTRO_RELEASE}" MATCHES "^7")
elseif( ("${DISTRO_ID}" MATCHES "centos" OR
"${DISTRO_ID}" MATCHES "redhatenterpriseserver") AND
"${DISTRO_RELEASE}" MATCHES "7")
set(HCC_GENERAL_RPM_DEP "coreutils, findutils, elfutils-libelf, pciutils-libs, file, pth, perl-File-BaseDir, perl-File-Copy-Recursive, perl-File-Listing, perl-File-Which")
else()
set(HCC_GENERAL_RPM_DEP "coreutils, findutils, elfutils-libelf, pciutils-libs, file, npth, perl-File-BaseDir, perl-File-Copy-Recursive, perl-File-Listing, perl-File-Which")
Expand Down

0 comments on commit ce78fa2

Please sign in to comment.