Skip to content

Commit d65d5e3

Browse files
committed
[cmake] Remove dead code. NFC.
1 parent e1e739f commit d65d5e3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmake/modules/SwiftXcodeSupport.cmake

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ function(escape_path_for_xcode config path result_var_name)
2525
set("${result_var_name}" "${result}" PARENT_SCOPE)
2626
endfunction()
2727

28-
function(get_imported_library_prefix outvar target prefix)
29-
string(FIND "${target}" "${prefix}" ALREADY_HAS_PREFIX)
30-
if (ALREADY_HAS_PREFIX)
31-
set(${outvar} "" PARENT_SCOPE)
32-
else()
33-
set(${outvar} "${prefix}" PARENT_SCOPE)
34-
endif()
35-
endfunction()
36-
3728
function(check_imported_target_has_imported_configuration target config)
3829
get_target_property(IMPORTED_CONFIGS_LIST ${target} IMPORTED_CONFIGURATIONS)
3930
if ("${IMPORTED_CONFIGS_LIST}" STREQUAL "NOTFOUND")

0 commit comments

Comments
 (0)