mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 19:39:53 +10: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.
This commit is contained in:
@@ -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