From de0a6c09f1858a60aded9bdfbaa25e3f6352034e Mon Sep 17 00:00:00 2001 From: amdkila <47991923+amdkila@users.noreply.github.com> Date: Thu, 9 Jul 2020 18:04:20 -0600 Subject: [PATCH] fix ubuntu 18 packaging issue (#121) --- rocsolver/library/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rocsolver/library/CMakeLists.txt b/rocsolver/library/CMakeLists.txt index 713c39f97..e921587f5 100755 --- a/rocsolver/library/CMakeLists.txt +++ b/rocsolver/library/CMakeLists.txt @@ -125,13 +125,13 @@ add_subdirectory( src ) # Package specific CPACK vars if( HIP_RUNTIME STREQUAL "ROCclr") set( RPM_REQUIREMENTS "hip-rocclr >= 3.5.0" ) - set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-rocclr >= 3.5.0" ) + set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-rocclr (>= 3.5.0)" ) elseif( HIP_RUNTIME STREQUAL "cuda") set( RPM_REQUIREMENTS "hip-nvcc >= 3.5.0" ) - set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-nvcc >= 3.5.0" ) + set( CPACK_DEBIAN_PACKAGE_DEPENDS "hip-nvcc (>= 3.5.0)" ) else() set( RPM_REQUIREMENTS "rocm-dev >= 2.5.27" ) - set( CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-dev >= 2.5.27" ) + set( CPACK_DEBIAN_PACKAGE_DEPENDS "rocm-dev (>= 2.5.27)" ) endif() if( OS_ID_sles )