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)
134
134
list (APPEND CARGO_ENV ${RUNTIME_ENV} )
135
135
endif ()
136
136
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
-
146
137
# Set the target dir to the same that Corrosion uses to reuse build artifacts
147
138
# 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" )
149
140
150
141
if (BUILD_TESTING)
151
142
# Add CMake tests for `cargo test/clippy/fmt/doc`.
You can’t perform that action at this time.
0 commit comments