-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lld libraries cmake export (#10)
* try fixing lld library cmake exports * try exporting lldWasm * lld cmake export fix Co-authored-by: Marc-André Moreau <[email protected]>
- Loading branch information
1 parent
7a0362d
commit 1c87908
Showing
2 changed files
with
17 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 2b6f6d9199b1a7ce9e9034df3909cddd8bcde6d0 Mon Sep 17 00:00:00 2001 | ||
From ef2e03b4ce1244c71fd6fdf918285c948d32a54c Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= <[email protected]> | ||
Date: Wed, 8 Sep 2021 08:49:13 -0400 | ||
Subject: [PATCH] add lld install targets | ||
|
@@ -9,7 +9,7 @@ Subject: [PATCH] add lld install targets | |
2 files changed, 33 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt | ||
index 2e99564f4..5bb3d9ec0 100644 | ||
index 2e99564f4..9f72266b3 100644 | ||
--- a/lld/CMakeLists.txt | ||
+++ b/lld/CMakeLists.txt | ||
@@ -189,9 +189,19 @@ include_directories(BEFORE | ||
|
@@ -23,7 +23,7 @@ index 2e99564f4..5bb3d9ec0 100644 | |
+ | ||
+ add_custom_target(lld-headers) | ||
+ set_target_properties(lld-headers PROPERTIES FOLDER "Misc") | ||
+ | ||
+ | ||
+ if(NOT LLVM_ENABLE_IDE) | ||
+ add_llvm_install_targets(install-lld-headers | ||
+ DEPENDS lld-headers | ||
|