[OpenMP] Refactor CMake files related to `PluginInterface` in `plugins-nextgen`
authorShilei Tian <i@tianshilei.me>
Tue, 6 Dec 2022 22:39:24 +0000 (17:39 -0500)
committerShilei Tian <i@tianshilei.me>
Tue, 6 Dec 2022 22:39:41 +0000 (17:39 -0500)
commit59ae4529838395da115293ac54d733fd91dbefc6
tree076b8b092c931180e208d1dd918af0da0362c996
parent65074179f26d9f2c7a8e74f136ed17adda144f17
[OpenMP] Refactor CMake files related to `PluginInterface` in `plugins-nextgen`

This patch uses refactors CMake files related to `PluginInterface` in `plugins-nextgen` to handle LLVM dependences in a better way.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D139371
openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt
openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt