diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2020-02-04 05:32:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-03-12 15:50:43 (GMT) |
commit | 2026915f8f08413a04e2612483eec28d844102d7 (patch) | |
tree | 3dfb7367e7e6c70fb15092472f3a9b7083c53806 /Tests/SwiftOnly/N.swift | |
parent | cb8227ecbf8907c793d9e34a7aa77cbaa47c1bd8 (diff) | |
download | CMake-2026915f8f08413a04e2612483eec28d844102d7.zip CMake-2026915f8f08413a04e2612483eec28d844102d7.tar.gz CMake-2026915f8f08413a04e2612483eec28d844102d7.tar.bz2 |
Swift: Propagate Swift_MODULE_DIRECTORY as include directory
Teach include directory computation for Swift to implicitly propagate
the `Swift_MODULE_DIRECTORY` of all linked targets as include
directories. This is required to ensure that the swiftmodule of a
linked target is accessible to the compiler of the current target.
Fixes: #19272
Diffstat (limited to 'Tests/SwiftOnly/N.swift')
-rw-r--r-- | Tests/SwiftOnly/N.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/SwiftOnly/N.swift b/Tests/SwiftOnly/N.swift new file mode 100644 index 0000000..990ddf9 --- /dev/null +++ b/Tests/SwiftOnly/N.swift @@ -0,0 +1,2 @@ +import M +public let OneTwentyEight = SixtyFour * 2 |