forked from GPUOpen-Drivers/llpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMakeLists: prefer to use llvm_map_components_to_libnames
This fixes the build of lgc and lgcdis when LLVM is compiled as a shared library. The underlying issue is that the lgc and lgcdis *libraries* are not linked into the libLLVM-*.so, but the LLVM_LINK_COMPONENTS mechanism assumes that they are.
- Loading branch information
Showing
2 changed files
with
12 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters