From b85751baa8f216a16dfca4fdd85c74b2674b18b6 Mon Sep 17 00:00:00 2001 From: saadrahim <44449863+saadrahim@users.noreply.github.com> Date: Fri, 6 Dec 2019 16:07:13 -0700 Subject: [PATCH] Fixing RHEL packaging for rocm-dev dependency (#116) * Fixing RHEL packaging for rocm-dev dependency * Fixing spaces --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab79cfc84..02e846e75 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,8 +101,8 @@ endif() # Package -set(CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-dev (>= 2.5.27)") # 1.5.18263 is HIP version in ROCm 1.8.2 -set(CPACK_RPM_PACKAGE_REQUIRES "rocm-dev (>= 2.5.27)") +set(CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-dev (>= 2.5.27)") +set(CPACK_RPM_PACKAGE_REQUIRES "rocm-dev >= 2.5.27") set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt") if(NOT CPACK_PACKAGING_INSTALL_PREFIX) set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")