Make CARGO_MANIFEST_DIR for fish-rust equal to src

This commit is contained in:
Henrik Hørlück Berg
2023-08-18 06:53:20 +02:00
committed by Fabian Boehm
parent dcebffb9e7
commit 5db08e1126
4 changed files with 103 additions and 105 deletions

View File

@@ -69,8 +69,9 @@ corrosion_set_env_vars(${fish_rust_target}
"CMAKE_WITH_GETTEXT=${CMAKE_WITH_GETTEXT}"
)
# this needs an extra fish-rust due to the poor source placement
target_include_directories(${fish_rust_target} INTERFACE
"${rust_target_dir}/cxxbridge/${fish_rust_target}/src/"
"${rust_target_dir}/cxxbridge/${fish_rust_target}/fish-rust/src/"
"${fish_autocxx_gen_dir}/include/"
)