File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -134,18 +134,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows" AND BUILD_TESTING)
134134 list (APPEND CARGO_ENV ${RUNTIME_ENV} )
135135endif ()
136136
137- # Same logic as in Corrosion.cmake
138- if (CMAKE_VS_PLATFORM_NAME)
139- set (BUILD_DIR "${CMAKE_VS_PLATFORM_NAME} /$<CONFIG>" )
140- elseif (CMAKE_CONFIGURATION_TYPES )
141- set (BUILD_DIR "$<CONFIG>" )
142- else ()
143- set (BUILD_DIR .)
144- endif ()
145-
146137# Set the target dir to the same that Corrosion uses to reuse build artifacts
147138# from the main build.
148- set (CARGO_TARGET_DIR "${CMAKE_BINARY_DIR} /${BUILD_DIR} / cargo/build" )
139+ set (CARGO_TARGET_DIR "${CMAKE_BINARY_DIR} /cargo/build" )
149140
150141if (BUILD_TESTING)
151142 # Add CMake tests for `cargo test/clippy/fmt/doc`.
You can’t perform that action at this time.
0 commit comments