aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildGperf.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/BuildGperf.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/BuildGperf.cmake')
-rw-r--r--third-party/cmake/BuildGperf.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/third-party/cmake/BuildGperf.cmake b/third-party/cmake/BuildGperf.cmake
index 71c3cc1eef..5401191150 100644
--- a/third-party/cmake/BuildGperf.cmake
+++ b/third-party/cmake/BuildGperf.cmake
@@ -57,6 +57,7 @@ elseif(MSVC OR MINGW)
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DCMAKE_GENERATOR=${CMAKE_GENERATOR}
+ -DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
BUILD_COMMAND ${CMAKE_COMMAND} --build . --config ${CMAKE_BUILD_TYPE}