File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -114,15 +114,10 @@ function(get_test_dependencies SDK result_var_name)
114
114
message (FATAL_ERROR "Unknown SDK: ${SDK} " )
115
115
endif ()
116
116
117
- if (XCODE )
118
- # Xcode's build paths have a configuration variable in them,
119
- # so CMake can't match them at compile time. Just use target names.
120
- list (APPEND deps ${deps_binaries} )
121
- else ()
122
- foreach (binary ${deps_binaries} )
123
- list (APPEND deps "${SWIFT_NATIVE_SWIFT_TOOLS_PATH} /${binary}${CMAKE_EXECUTABLE_SUFFIX} " )
124
- endforeach ()
125
- endif ()
117
+ # Just use target names for dependency generation. This works for both Xcode
118
+ # and non-Xcode build systems. In the case of Xcode, its build paths have a
119
+ # configuration variable in them, so CMake can't match them at compile time.
120
+ list (APPEND deps ${deps_binaries} )
126
121
127
122
set ("${result_var_name} " "${deps} " PARENT_SCOPE )
128
123
endfunction ()
You can’t perform that action at this time.
0 commit comments