build: GetBinaryDeps: move include, fix doc (#10579)

This commit is contained in:
Daniel Hahler 2019-07-22 20:50:30 +02:00 committed by GitHub
parent d7274f2417
commit 4aabe4a0d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -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)

View File

@ -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"