Merge pull request #1013 from yxsamliu/config

Fix hip-config.cmake for hip-clang

[ROCm/clr commit: 75691ff3e4]
This commit is contained in:
Maneesh Gupta
2019-04-10 07:53:22 +00:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
@@ -39,6 +39,8 @@ if (NOT _CMakeFindDependencyMacro_FOUND)
endmacro()
endif()
set(HIP_COMPILER "@HIP_COMPILER@")
set(HIP_RUNTIME "@HIP_RUNTIME@")
set_and_check( hip_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@" )
set_and_check( hip_INCLUDE_DIRS "${hip_INCLUDE_DIR}" )
@@ -39,6 +39,8 @@ if (NOT _CMakeFindDependencyMacro_FOUND)
endmacro()
endif()
set(HIP_COMPILER "@HIP_COMPILER@")
set(HIP_RUNTIME "@HIP_RUNTIME@")
set_and_check( hip_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@" )
set_and_check( hip_INCLUDE_DIRS "${hip_INCLUDE_DIR}" )