System : Update to match newer RHEL and CentOS versions

This commit is contained in:
Magne Sjaastad
2020-04-22 20:19:03 +02:00
parent 61b030bb7b
commit 12a4419a38

View File

@@ -841,7 +841,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES Windows)
endif()
# Append el5 when compiled on RHEL5 and el6 if compiled on RHEL6
string(REGEX MATCH "el[5,6]?" RESINSIGHT_RHEL_SYSTEM_NAME ${CMAKE_SYSTEM})
string(REGEX MATCH "el[6,7,8]?" RESINSIGHT_RHEL_SYSTEM_NAME ${CMAKE_SYSTEM})
set(RESINSIGHT_PACKAGE_NAME "ResInsight")