aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLibuv.cmake
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-06-13 00:11:14 +0200
committerGitHub <noreply@github.com>2022-06-12 15:11:14 -0700
commit3c7b91da10436fb503934a735958b445bbde580e (patch)
tree809565220db938072ab3beed3e9aa3c104c4a0b4 /third-party/cmake/BuildLibuv.cmake
parentf90174c98cdc7af6c166043e15d178c619f83c99 (diff)
downloadrneovim-3c7b91da10436fb503934a735958b445bbde580e.tar.gz
rneovim-3c7b91da10436fb503934a735958b445bbde580e.tar.bz2
rneovim-3c7b91da10436fb503934a735958b445bbde580e.zip
build: remove CMAKE_CROSSCOMPILING code #18914
This is rarely, if ever, used and certainly not tested. It's likely this isn't functional anymore.
Diffstat (limited to 'third-party/cmake/BuildLibuv.cmake')
-rw-r--r--third-party/cmake/BuildLibuv.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/third-party/cmake/BuildLibuv.cmake b/third-party/cmake/BuildLibuv.cmake
index 42650308a8..ba5de38714 100644
--- a/third-party/cmake/BuildLibuv.cmake
+++ b/third-party/cmake/BuildLibuv.cmake
@@ -45,17 +45,6 @@ if(UNIX)
CONFIGURE_COMMAND ${UNIX_CFGCMD} MAKE=${MAKE_PRG}
INSTALL_COMMAND ${MAKE_PRG} V=1 install)
-elseif(MINGW AND CMAKE_CROSSCOMPILING)
- # Build libuv for the host
- BuildLibuv(TARGET libuv_host
- CONFIGURE_COMMAND sh ${DEPS_BUILD_DIR}/src/libuv_host/autogen.sh && ${DEPS_BUILD_DIR}/src/libuv_host/configure --with-pic --disable-shared --prefix=${HOSTDEPS_INSTALL_DIR} CC=${HOST_C_COMPILER}
- INSTALL_COMMAND ${MAKE_PRG} V=1 install)
-
- # Build libuv for the target
- BuildLibuv(
- CONFIGURE_COMMAND ${UNIX_CFGCMD} --host=${CROSS_TARGET}
- INSTALL_COMMAND ${MAKE_PRG} V=1 install)
-
elseif(WIN32)
set(UV_OUTPUT_DIR ${DEPS_BUILD_DIR}/src/libuv/${CMAKE_BUILD_TYPE})