aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLibvterm.cmake
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-10-23 21:38:58 -0400
committerDundar Göc <gocdundar@gmail.com>2022-02-20 10:18:45 +0100
commit921162a4b1d4c3e3948e1e4ffa960cbdb9e933b7 (patch)
treecb505f41ac5a2fb71bf3b8d927c2b072e6f28b93 /third-party/cmake/BuildLibvterm.cmake
parent8b3799e2c33282bf417ddee15ae71b5aba613c16 (diff)
downloadrneovim-921162a4b1d4c3e3948e1e4ffa960cbdb9e933b7.tar.gz
rneovim-921162a4b1d4c3e3948e1e4ffa960cbdb9e933b7.tar.bz2
rneovim-921162a4b1d4c3e3948e1e4ffa960cbdb9e933b7.zip
ci: bump Windows image to windows-2019
The VS 2019 CMake generator no longer has different generator types for different architectures. Now, the architecture is specified via CMake's `-A` switch. However, this requires we also propagate `${CMAKE_GENERATOR_PLATFORM}` to the bundled deps, so they build for the same architecture as Nvim.
Diffstat (limited to 'third-party/cmake/BuildLibvterm.cmake')
-rw-r--r--third-party/cmake/BuildLibvterm.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLibvterm.cmake b/third-party/cmake/BuildLibvterm.cmake
index 09f2ba7f2c..2c300dda7c 100644
--- a/third-party/cmake/BuildLibvterm.cmake
+++ b/third-party/cmake/BuildLibvterm.cmake
@@ -47,6 +47,7 @@ if(WIN32)
COMMAND ${CMAKE_COMMAND} ${DEPS_BUILD_DIR}/src/libvterm
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
+ -DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
"-DCMAKE_C_FLAGS:STRING=${CMAKE_C_COMPILER_ARG1} -fPIC"
-DCMAKE_GENERATOR=${CMAKE_GENERATOR})
set(LIBVTERM_BUILD_COMMAND ${CMAKE_COMMAND} --build . --config ${CMAKE_BUILD_TYPE})