mirror of
https://github.com/neovim/neovim.git
synced 2025-12-13 10:02:49 +00:00
fix(install): only install "tee" on Windows #36629
Problem:
AUR does not want a web-scale implementation of "tee".
Solution:
- Only install "tee" on Windows.
- The build will still produce `./build/bin/tee` on all platforms, to
have more coverage and avoid special-cases in tests.
(cherry picked from commit e0308dc147)
This commit is contained in:
committed by
github-actions[bot]
parent
a94647bb08
commit
63c5a101af
@@ -5,6 +5,8 @@ set_target_properties(tee PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
)
|
||||
|
||||
install(TARGETS tee
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
if(WIN32)
|
||||
install(TARGETS tee
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user