Fix hip-config.cmake for hip-clang

Define HIP_COMPILER and HIP_RUNTIME in hip-config.cmake to
facilitate other packages identify hip-clang and HIP/VDI
runtime.


[ROCm/hip commit: cce99bfa24]
Este cometimento está contido em:
Yaxun (Sam) Liu cometeu 2019-04-09 16:41:01 -04:00
1 ascendente be808fd3ca
cometimento a38f40a151
2 ficheiros modificados
+4

Não existem ficheiros que correspondam à sua pesquisa

+2
Ver ficheiro
@@ -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}" )
+2
Ver ficheiro
@@ -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}" )