From 454009d13e4ddbc2dd70fa446dbc7e959ac4ef8a Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Wed, 19 Apr 2023 16:45:25 +0200 Subject: [PATCH] Rust.cmake: break up long line --- cmake/Rust.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Rust.cmake b/cmake/Rust.cmake index 0ce085779..43df4413d 100644 --- a/cmake/Rust.cmake +++ b/cmake/Rust.cmake @@ -50,7 +50,11 @@ else() endif() # Tell Cargo where our build directory is so it can find config.h. -corrosion_set_env_vars(${fish_rust_target} "FISH_BUILD_DIR=${CMAKE_BINARY_DIR}" "FISH_AUTOCXX_GEN_DIR=${fish_autocxx_gen_dir}" "FISH_RUST_TARGET_DIR=${rust_target_dir}") +corrosion_set_env_vars(${fish_rust_target} + "FISH_BUILD_DIR=${CMAKE_BINARY_DIR}" + "FISH_AUTOCXX_GEN_DIR=${fish_autocxx_gen_dir}" + "FISH_RUST_TARGET_DIR=${rust_target_dir}" +) target_include_directories(${fish_rust_target} INTERFACE "${rust_target_dir}/cxxbridge/${fish_rust_target}/src/"