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()
2828# If no such default variable exists, the variable is not created.
2929macro (defaulted_set variable type helptext)
3030 if (DEFINED ${variable} _default)
31- set (${variable} ${variable} _default CACHE ${type} ${helptext} )
31+ set (${variable} ${${ variable} _default} CACHE ${type} ${helptext} )
3232 endif ()
3333endmacro ()
3434
Original file line number Diff line number Diff line change @@ -109,10 +109,12 @@ if(SwiftCore_ENABLE_BACKTRACING)
109109 CrashHandlerLinux.cpp)
110110endif ()
111111
112+ target_sources (swiftRuntime PRIVATE
113+ ErrorObject.mm
114+ SwiftObject.mm)
115+
112116if (SwiftCore_ENABLE_OBJC_INTEROP)
113117 target_sources (swiftRuntime PRIVATE
114- ErrorObject.mm
115- SwiftObject.mm
116118 SwiftValue.mm
117119 ReflectionMirrorObjC.mm
118120 ObjCRuntimeGetImageNameFromClass.mm)
You can’t perform that action at this time.
0 commit comments