Skip to content

Commit 37b7d3d

Browse files
authored
Merge pull request #3209 from compnerd/dead-code-elimination
build: clean up dead code
2 parents df22490 + 956503a commit 37b7d3d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,6 @@ function(is_darwin_based_sdk sdk_name out_var)
7676
endif()
7777
endfunction()
7878

79-
function(is_windows_based_sdk sdk_name out_var)
80-
if("${sdk_name}" STREQUAL "WINDOWS" OR
81-
"${sdk_name}" STREQUAL "CYGWIN")
82-
set(${out_var} TRUE PARENT_SCOPE)
83-
else()
84-
set(${out_var} FALSE PARENT_SCOPE)
85-
endif()
86-
endfunction()
87-
8879
# Usage:
8980
# _add_variant_c_compile_link_flags(
9081
# SDK sdk

0 commit comments

Comments
 (0)