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)
1717 # programs in Debug mode, and need the import library to be generated even if
1818 # nothing is exported. Because we will still generate the DLL, create an
1919 # 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 " )
2323 foreach (architecture ${SWIFT_SDK_WINDOWS_ARCHITECTURES} )
2424 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 )
2628 endforeach ()
2729endif ()
You can’t perform that action at this time.
0 commit comments