mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 11:36:06 +00:00

This introduces a CMake find module for detecting target offloading support in a compiler. The goal is to make it easier to incorporate target offloading into a cmake project. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D104710
16 lines
595 B
CMake
16 lines
595 B
CMake
##===----------------------------------------------------------------------===##
|
|
#
|
|
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
#
|
|
# Install the FindOpenMPTarget module
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
|
install(FILES "FindOpenMPTarget.cmake"
|
|
DESTINATION "${OPENMP_INSTALL_LIBDIR}/cmake/openmp")
|