-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3283a4
commit b077295
Showing
2 changed files
with
6 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,7 @@ | ||
file(GLOB_RECURSE SOURCES *.swift) | ||
add_library(WindowsRuntime STATIC ${SOURCES}) | ||
target_link_libraries(WindowsRuntime PUBLIC COM WindowsRuntime_ABI) | ||
target_link_libraries(WindowsRuntime PRIVATE SWRT_InternalABI) | ||
target_link_libraries(WindowsRuntime PRIVATE SWRT_InternalABI) | ||
|
||
# Workaround for CMake not propagating include dirs | ||
target_include_directories(WindowsRuntime INTERFACE "$<TARGET_FILE_DIR:ABIBindings>") |