Fixing env HCC_HOME and HIP_PATH

[ROCm/roctracer commit: 2007136c1c]
This commit is contained in:
eshcherb
2019-09-02 22:45:58 -05:00
committed by GitHub
vanhempi 1e9061fe56
commit a5d0c57add
@@ -68,10 +68,10 @@ endif()
set ( HCC_HOME "/opt/rocm/hcc" )
set ( HIP_PATH "/opt/rocm/hip" )
if ( DEFINED ENV{HCC_HOME} )
set ( HCC_HOME ENV{HCC_HOME} )
set ( HCC_HOME $ENV{HCC_HOME} )
endif()
if ( DEFINED ENV{HIP_PATH} )
set ( HIP_PATH ENV{HIP_PATH} )
set ( HIP_PATH $ENV{HIP_PATH} )
endif()
set ( HCC_INC_DIR "${HCC_HOME}/include" )
set ( HIP_INC_DIR "${HIP_PATH}/include" )