mirror of
https://github.com/neovim/neovim.git
synced 2026-05-03 12:35:00 +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.
This commit is contained in:
@@ -5,6 +5,8 @@ set_target_properties(tee PROPERTIES
|
|||||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS tee
|
if(WIN32)
|
||||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
install(TARGETS tee
|
||||||
)
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user