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