Skip to content

Commit c93146a

Browse files
committed
[cmake] Add executable suffix to test deps
Windows tests were depending on bin\readelf instead of bin\readelf.exe causing ninja to fail the build.
1 parent 77135a9 commit c93146a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function(get_test_dependencies SDK result_var_name)
8787
list(APPEND deps ${deps_binaries})
8888
else()
8989
foreach(binary ${deps_binaries})
90-
list(APPEND deps "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/${binary}")
90+
list(APPEND deps "${SWIFT_NATIVE_SWIFT_TOOLS_PATH}/${binary}${CMAKE_EXECUTABLE_SUFFIX}")
9191
endforeach()
9292
endif()
9393

0 commit comments

Comments
 (0)