mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ci: print DLL copy messages only in CI environment (#22260)
In Windows, library DLL's are copied in the building process, and a message for each copy is printed. This is useful to have in the log of CI, but annoying to see when you're building and rebuilding nvim constantly. Work around this issue by only enabling the messages on CI.
This commit is contained in:
parent
9a9a4d38a8
commit
b4a92309f8
@ -23,8 +23,9 @@ foreach(DLL_NAME ${DLLS})
|
||||
message(FATAL_ERROR "Unable to find dependency ${DLL_NAME}")
|
||||
endif()
|
||||
|
||||
message("Copying ${DLL_NAME} to ${DST}")
|
||||
if($ENV{CI} MATCHES "true")
|
||||
message("Copying ${DLL_NAME} to ${DST}")
|
||||
endif()
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${DLL_PATH} ${DST})
|
||||
unset(DLL_PATH CACHE)
|
||||
endforeach()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user