a640e5c821
RDC will provide cmake files exporting the INCLUDE/LIBRARY targets. Change-Id: I8e8aeff426c45eae823d988f6473424ccf29687c
20 行
621 B
CMake
20 行
621 B
CMake
# - Config file for the rdc package
|
|
# It defines the following variables
|
|
# RDC_INCLUDE_DIRS - include directories for rdc
|
|
# RDC_LIBRARIES - libraries to link against
|
|
|
|
# Compute paths
|
|
get_filename_component(RDC_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
set(ROCM_RDC_INCLUDE_DIR "@CONF_INCLUDE_DIRS@")
|
|
set(ROCM_RDC_LIB_DIR "@CONF_LIB_DIR@")
|
|
|
|
|
|
# Our library dependencies (contains definitions for IMPORTED targets)
|
|
if(NOT TARGET rdc_libs AND NOT rdc_BINARY_DIR)
|
|
include("${RDC_CMAKE_DIR}/rdcTargets.cmake")
|
|
endif()
|
|
|
|
# These are IMPORTED targets created by rdcTargets.cmake
|
|
set(ROCM_RDC_LIBRARIES "@CONF_LIBS@")
|
|
|