File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ endmacro()
28
28
# If no such default variable exists, the variable is not created.
29
29
macro (defaulted_set variable type helptext )
30
30
if (DEFINED ${variable} _default )
31
- set (${variable} ${variable} _default CACHE ${type} ${helptext} )
31
+ set (${variable} ${${ variable}_default} CACHE ${type} ${helptext} )
32
32
endif ()
33
33
endmacro ()
34
34
Original file line number Diff line number Diff line change @@ -109,10 +109,12 @@ if(SwiftCore_ENABLE_BACKTRACING)
109
109
CrashHandlerLinux.cpp )
110
110
endif ()
111
111
112
+ target_sources (swiftRuntime PRIVATE
113
+ ErrorObject.mm
114
+ SwiftObject.mm )
115
+
112
116
if (SwiftCore_ENABLE_OBJC_INTEROP )
113
117
target_sources (swiftRuntime PRIVATE
114
- ErrorObject.mm
115
- SwiftObject.mm
116
118
SwiftValue.mm
117
119
ReflectionMirrorObjC.mm
118
120
ObjCRuntimeGetImageNameFromClass.mm )
You can’t perform that action at this time.
0 commit comments