mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
build: GetBinaryDeps: move include, fix doc (#10579)
This commit is contained in:
parent
d7274f2417
commit
4aabe4a0d5
2
third-party/CMakeLists.txt
vendored
2
third-party/CMakeLists.txt
vendored
@ -237,9 +237,9 @@ if(USE_BUNDLED_LIBICONV)
|
||||
include(BuildLibiconv)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
include(GetBinaryDeps)
|
||||
|
||||
if(WIN32)
|
||||
GetBinaryDep(TARGET wintools
|
||||
INSTALL_COMMAND ${CMAKE_COMMAND} -E copy_directory . ${DEPS_INSTALL_DIR}/bin)
|
||||
|
||||
|
7
third-party/cmake/GetBinaryDeps.cmake
vendored
7
third-party/cmake/GetBinaryDeps.cmake
vendored
@ -2,9 +2,10 @@
|
||||
include(CMakeParseArguments)
|
||||
|
||||
# This is similar to the build recipes, but instead downloads a third party
|
||||
# binary and installs it under the the DEPS_PREFIX. The INSTALL_COMMAND is
|
||||
# executed in the folder where downloaded files are extracted and the
|
||||
# ${DEPS_INSTALL_DIR} holds the path to the third-party install root.
|
||||
# binary and installs it under the DEPS_PREFIX.
|
||||
# The INSTALL_COMMAND is executed in the folder where downloaded files are
|
||||
# extracted and the ${DEPS_INSTALL_DIR} holds the path to the third-party
|
||||
# install root.
|
||||
function(GetBinaryDep)
|
||||
cmake_parse_arguments(_gettool
|
||||
"BUILD_IN_SOURCE"
|
||||
|
Loading…
Reference in New Issue
Block a user