mirror of
https://github.com/neovim/neovim.git
synced 2026-10-26 15:40:20 -05: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:
1 parent
caa9419355
commit
e0308dc147
1 file changed
+5
-3
@@ -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