Skip to content

Commit

Permalink
Fix NO_LINKER_OVERRIDE
Browse files Browse the repository at this point in the history
the positional argument must come first
  • Loading branch information
jschwe committed Jan 4, 2023
1 parent e9a453d commit 58d979b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/CorrosionGenerator.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ function(_generator_add_package_targets workspace_manifest_path package_manifest

set(cargo_build_out_dir "")
_add_cargo_build(
${_NO_LINKER_OVERRIDE}
cargo_build_out_dir
${_NO_LINKER_OVERRIDE}
PACKAGE ${package_name}
TARGET ${target_name}
MANIFEST_PATH "${manifest_path}"
Expand Down Expand Up @@ -144,8 +144,8 @@ function(_generator_add_package_targets workspace_manifest_path package_manifest

set(cargo_build_out_dir "")
_add_cargo_build(
${_NO_LINKER_OVERRIDE}
cargo_build_out_dir
${_NO_LINKER_OVERRIDE}
PACKAGE "${package_name}"
TARGET "${target_name}"
MANIFEST_PATH "${manifest_path}"
Expand Down

0 comments on commit 58d979b

Please sign in to comment.