6 lines
160 B
CMake
Raw Normal View History

if (CUDA_FOUND OR OpenCL_FOUND)
add_subdirectory(GPURuntime)
endif (CUDA_FOUND OR OpenCL_FOUND)
set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} PARENT_SCOPE)