From 83937abeaef043a26173c44f88426cd48e469bc7 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 17 May 2017 11:50:44 -0400 Subject: [PATCH] P4 to Git Change 1410638 by lmoriche@lmoriche_palamida on 2017/05/17 11:34:07 SWDEV-102733 - [OCL-LC-ROCm] Cmake build Write CMakeLists.txt to enable building with and without the DK environment - Add FindROCR.cmake, and use find_package() to locate the ROCR Affected files ... ... //depot/stg/opencl/drivers/opencl/cmake/modules/FindROCR.cmake#2 edit --- rocclr/cmake/modules/FindROCR.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rocclr/cmake/modules/FindROCR.cmake b/rocclr/cmake/modules/FindROCR.cmake index a771ce0043..7d4c0ca4cf 100644 --- a/rocclr/cmake/modules/FindROCR.cmake +++ b/rocclr/cmake/modules/FindROCR.cmake @@ -8,8 +8,8 @@ find_path(ROCR_INCLUDE_DIR hsa.h HINTS /opt/rocm/include /opt/rocm/hsa/include PATH_SUFFIXES hsa) -find_library(ROCR_LIBRARY libhsa-runtime64 - HINTS /opt/rocm/lib /opt/rocm/hsa/lib) +find_library(ROCR_LIBRARY hsa-runtime64 + HINTS /opt/rocm/lib /opt/rocm/hsa/lib) include(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set ROCR_FOUND to TRUE