diff --git a/Libraries/rocSPARSE/level_2/csritsv/CMakeLists.txt b/Libraries/rocSPARSE/level_2/csritsv/CMakeLists.txt index adc3eddc3..c07a80c3b 100644 --- a/Libraries/rocSPARSE/level_2/csritsv/CMakeLists.txt +++ b/Libraries/rocSPARSE/level_2/csritsv/CMakeLists.txt @@ -37,9 +37,17 @@ set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_STANDARD_REQUIRED ON) if(WIN32) - set(ROCM_ROOT "$ENV{HIP_PATH}" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "$ENV{HIP_PATH}" + CACHE PATH + "Root directory of the ROCm installation" + ) else() - set(ROCM_ROOT "/opt/rocm" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "/opt/rocm" + CACHE PATH + "Root directory of the ROCm installation" + ) endif() list(APPEND CMAKE_PREFIX_PATH "${ROCM_ROOT}") diff --git a/Libraries/rocSPARSE/level_2/spitsv/CMakeLists.txt b/Libraries/rocSPARSE/level_2/spitsv/CMakeLists.txt index 777cae125..8019d914f 100644 --- a/Libraries/rocSPARSE/level_2/spitsv/CMakeLists.txt +++ b/Libraries/rocSPARSE/level_2/spitsv/CMakeLists.txt @@ -37,9 +37,17 @@ set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_STANDARD_REQUIRED ON) if(WIN32) - set(ROCM_ROOT "$ENV{HIP_PATH}" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "$ENV{HIP_PATH}" + CACHE PATH + "Root directory of the ROCm installation" + ) else() - set(ROCM_ROOT "/opt/rocm" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "/opt/rocm" + CACHE PATH + "Root directory of the ROCm installation" + ) endif() list(APPEND CMAKE_PREFIX_PATH "${ROCM_ROOT}") diff --git a/Libraries/rocSPARSE/preconditioner/gpsv/CMakeLists.txt b/Libraries/rocSPARSE/preconditioner/gpsv/CMakeLists.txt index e697c95e2..fed642768 100644 --- a/Libraries/rocSPARSE/preconditioner/gpsv/CMakeLists.txt +++ b/Libraries/rocSPARSE/preconditioner/gpsv/CMakeLists.txt @@ -37,9 +37,17 @@ set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_STANDARD_REQUIRED ON) if(WIN32) - set(ROCM_ROOT "$ENV{HIP_PATH}" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "$ENV{HIP_PATH}" + CACHE PATH + "Root directory of the ROCm installation" + ) else() - set(ROCM_ROOT "/opt/rocm" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "/opt/rocm" + CACHE PATH + "Root directory of the ROCm installation" + ) endif() list(APPEND CMAKE_PREFIX_PATH "${ROCM_ROOT}") diff --git a/Libraries/rocSPARSE/preconditioner/gtsv/CMakeLists.txt b/Libraries/rocSPARSE/preconditioner/gtsv/CMakeLists.txt index 9cf908e68..5440239c3 100644 --- a/Libraries/rocSPARSE/preconditioner/gtsv/CMakeLists.txt +++ b/Libraries/rocSPARSE/preconditioner/gtsv/CMakeLists.txt @@ -37,9 +37,17 @@ set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_STANDARD_REQUIRED ON) if(WIN32) - set(ROCM_ROOT "$ENV{HIP_PATH}" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "$ENV{HIP_PATH}" + CACHE PATH + "Root directory of the ROCm installation" + ) else() - set(ROCM_ROOT "/opt/rocm" CACHE PATH "Root directory of the ROCm installation") + set(ROCM_ROOT + "/opt/rocm" + CACHE PATH + "Root directory of the ROCm installation" + ) endif() list(APPEND CMAKE_PREFIX_PATH "${ROCM_ROOT}")