File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
# and linking empty objects.
4
4
# https://github.com/swiftlang/swift/issues/77435
5
5
add_library (swiftThreading OBJECT
6
- "${PROJECT_SOURCE_DIR} /../.. /lib/Threading/C11.cpp"
7
- "${PROJECT_SOURCE_DIR} /../.. /lib/Threading/Linux.cpp"
8
- "${PROJECT_SOURCE_DIR} /../.. /lib/Threading/Pthreads.cpp"
9
- "${PROJECT_SOURCE_DIR} /../.. /lib/Threading/Win32.cpp" )
6
+ "${SwiftCore_SWIFTC_SOURCE_DIR} /lib/Threading/C11.cpp"
7
+ "${SwiftCore_SWIFTC_SOURCE_DIR} /lib/Threading/Linux.cpp"
8
+ "${SwiftCore_SWIFTC_SOURCE_DIR} /lib/Threading/Pthreads.cpp"
9
+ "${SwiftCore_SWIFTC_SOURCE_DIR} /lib/Threading/Win32.cpp" )
10
10
target_link_libraries (swiftThreading PRIVATE swiftShims )
Original file line number Diff line number Diff line change 1
- file (STRINGS "${PROJECT_SOURCE_DIR} /../.. /utils/availability-macros.def" availability_defs )
1
+ file (STRINGS "${SwiftCore_SWIFTC_SOURCE_DIR} /utils/availability-macros.def" availability_defs )
2
2
list (FILTER availability_defs EXCLUDE REGEX "^\\ s*(#.*)?$" )
3
3
foreach (def ${availability_defs} )
4
4
add_compile_options ("$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -define-availability -Xfrontend \" ${def} \" >" )
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ function(gyb_expand source output)
23
23
endforeach ()
24
24
list (REMOVE_DUPLICATES gyb_expand_deps )
25
25
26
- set (utils_dir "${PROJECT_SOURCE_DIR} /../.. /utils/" )
26
+ set (utils_dir "${SwiftCore_SWIFTC_SOURCE_DIR} /utils/" )
27
27
set (gyb_tool "${utils_dir} /gyb" )
28
28
29
29
# All the tidbits to track for changes
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ target_include_directories(swiftStdlibStubs PRIVATE
45
45
# swift/Runtime/Debug.h
46
46
# ...
47
47
#
48
- "${PROJECT_SOURCE_DIR} /../.. /include" )
48
+ "${SwiftCore_SWIFTC_SOURCE_DIR} /include" )
49
49
50
50
if (APPLE )
51
51
set_property (SOURCE SwiftNativeNSXXXBaseARC.m
You can’t perform that action at this time.
0 commit comments