mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
cmake: Use cmake -E touch instead of touch #2730
CMake has a portable touch command using cmake -E touch, use it instead of calling touch that is only available in Unix.
This commit is contained in:
parent
466bb84ff0
commit
8ef5a61dd6
2
third-party/cmake/BuildLuarocks.cmake
vendored
2
third-party/cmake/BuildLuarocks.cmake
vendored
@ -138,7 +138,7 @@ if(USE_BUNDLED_BUSTED)
|
||||
ARGS build xml 1.1.2-1 ${LUAROCKS_BUILDARGS}
|
||||
COMMAND ${LUAROCKS_BINARY}
|
||||
ARGS build ansicolors 1.0.2-3 ${LUAROCKS_BUILDARGS}
|
||||
COMMAND touch ${HOSTDEPS_LIB_DIR}/luarocks/rocks/stable-busted-deps
|
||||
COMMAND ${CMAKE_COMMAND} -E touch ${HOSTDEPS_LIB_DIR}/luarocks/rocks/stable-busted-deps
|
||||
DEPENDS lpeg)
|
||||
add_custom_target(stable-busted-deps
|
||||
DEPENDS ${HOSTDEPS_LIB_DIR}/luarocks/rocks/stable-busted-deps)
|
||||
|
Loading…
Reference in New Issue
Block a user