You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lldb/cmake/modules/LLDBConfig.cmake
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,13 @@ if(LLDB_BUILD_FRAMEWORK)
112
112
set(LLDB_FRAMEWORK_VERSIONACACHESTRING"LLDB.framework version (default is A)")
113
113
set(LLDB_FRAMEWORK_BUILD_DIRbinCACHESTRING"Output directory for LLDB.framework")
114
114
set(LLDB_FRAMEWORK_INSTALL_DIRLibrary/FrameworksCACHESTRING"Install directory for LLDB.framework")
115
-
set(LLDB_FRAMEWORK_COPY_SWIFT_RESOURCES1CACHEBOOL"Copy the Swift headers into the resource directory of the LLDB.framework")
115
+
if (LLDB_ENABLE_SWIFT_SUPPORT)
116
+
set(should_copy_swift_resourcesON)
117
+
else()
118
+
set(should_copy_swift_resourcesOFF)
119
+
endif()
120
+
121
+
set(LLDB_FRAMEWORK_COPY_SWIFT_RESOURCES${should_copy_swift_resources}CACHEBOOL"Copy the Swift headers into the resource directory of the LLDB.framework")
0 commit comments