Skip to content

Commit

Permalink
Consider vxworks executable suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-El authored and jschwe committed Apr 18, 2024
1 parent d5bdbfa commit b25a1fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/Corrosion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ function(_corrosion_bin_target_suffix target_name out_var_suffix)
if((hostbuild AND CMAKE_HOST_WIN32)
OR ((NOT hostbuild) AND (Rust_CARGO_TARGET_OS STREQUAL "windows")))
set(_suffix ".exe")
elseif(Rust_CARGO_TARGET_OS STREQUAL "vxworks")
set(_suffix ".vxe")
else()
set(_suffix "")
endif()
Expand Down

0 comments on commit b25a1fa

Please sign in to comment.