Skip to content

Commit a4589d5

Browse files
owenvcompnerd
andauthored
Apply suggestions from code review
Co-authored-by: Saleem Abdulrasool <[email protected]>
1 parent 4530131 commit a4589d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Subprocess/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ elseif(APPLE)
4141
Platforms/Subprocess+Darwin.swift
4242
Platforms/Subprocess+Unix.swift)
4343
target_compile_options(Subprocess PRIVATE
44-
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-D SUBPROCESS_ASYNCIO_DISPATCH>")
44+
"$<$<COMPILE_LANGUAGE:Swift>:-DSUBPROCESS_ASYNCIO_DISPATCH>")
4545
elseif(FREEBSD OR OPENBSD)
4646
target_sources(Subprocess PRIVATE
4747
Platforms/Subprocess+BSD.swift
4848
Platforms/Subprocess+Unix.swift)
4949
target_compile_options(Subprocess PRIVATE
50-
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-D SUBPROCESS_ASYNCIO_DISPATCH>")
50+
"$<$<COMPILE_LANGUAGE:Swift>:-DSUBPROCESS_ASYNCIO_DISPATCH>")
5151
endif()
5252

5353
target_compile_options(Subprocess PRIVATE

0 commit comments

Comments
 (0)