File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
stdlib/public/SwiftOnoneSupport Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ if(CMAKE_BUILD_TYPE STREQUAL Debug AND WINDOWS IN_LIST SWIFT_SDKS)
17
17
# programs in Debug mode, and need the import library to be generated even if
18
18
# nothing is exported. Because we will still generate the DLL, create an
19
19
# empty import library.
20
- file (WRITE ${CMAKE_CURRENT_BINARY_DIR} /SwiftOnoneSupport .def
21
- "LIBRARY SwiftOnoneSupport \n "
22
- "EXPORTS" )
20
+ file (WRITE ${CMAKE_CURRENT_BINARY_DIR} /swiftSwiftOnoneSupport .def
21
+ "LIBRARY swiftSwiftOnoneSupport \n "
22
+ "EXPORTS\n " )
23
23
foreach (architecture ${SWIFT_SDK_WINDOWS_ARCHITECTURES} )
24
24
target_sources (swiftSwiftOnoneSupport-windows-${architecture} PRIVATE
25
- ${CMAKE_CURRENT_BINARY_DIR} /SwiftOnoneSupport.def )
25
+ ${CMAKE_CURRENT_BINARY_DIR} /swiftSwiftOnoneSupport.def )
26
+ set_source_files_properties (${CMAKE_CURRENT_BINARY_DIR} /swiftSwiftOnoneSupport.def
27
+ PROPERTIES HEADER_FILE_ONLY TRUE )
26
28
endforeach ()
27
29
endif ()
You can’t perform that action at this time.
0 commit comments