fix(shell/CMakeLists): bin_lean_stage0 should not be part of the default target as it conflicts with bin_lean

/cc @leodemoura
This commit is contained in:
Sebastian Ullrich 2019-08-09 16:40:45 +02:00
parent 4aed3e51b5
commit de5c7cbff0

View file

@ -6,7 +6,7 @@ else()
set_target_properties(lean_stage0 PROPERTIES IMPORTED_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/lean_stage0")
endif()
ADD_CUSTOM_TARGET(bin_lean_stage0 ALL
ADD_CUSTOM_TARGET(bin_lean_stage0
COMMAND "${CMAKE_COMMAND}" -E copy_if_different "$<TARGET_FILE:lean_stage0>" "${LEAN_SOURCE_DIR}/../bin/lean"
DEPENDS lean_stage0
)