summaryrefslogtreecommitdiff
path: root/external/python3
diff options
context:
space:
mode:
authorHossein <hossein@libreoffice.org>2021-09-15 10:08:43 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2021-09-16 19:50:56 +0200
commitc156a8c708f74dd31e1ef024edc578c3915619cb (patch)
treef7134a5a8c2f3815abfdb232c29f916de3100bfa /external/python3
parentbf89ac73fdb1ca8c083913f6ad8aaf8cec9114c5 (diff)
Add preliminary VS 2022 support
This patch changes the configure.ac, so that LibreOffice compiles with the latest VS 2022 preview. The option --with-visual-studio=2022 should be added to the autogen.input, in order to use VS 2022 preview. Change-Id: Ia1d9bbeabbbd44ffe82af3624151b69d36c0a45c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122133 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'external/python3')
-rw-r--r--external/python3/ExternalProject_python3.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/python3/ExternalProject_python3.mk b/external/python3/ExternalProject_python3.mk
index dc268e8bb619..46fbdad5ab14 100644
--- a/external/python3/ExternalProject_python3.mk
+++ b/external/python3/ExternalProject_python3.mk
@@ -43,6 +43,7 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
/p:libffiIncludeDir=$(call gb_UnpackedTarball_get_dir,libffi)/$(HOST_PLATFORM)/include \
/maxcpucount \
$(if $(filter 160,$(VCVER)),/p:PlatformToolset=v142 /p:VisualStudioVersion=16.0 /ToolsVersion:Current) \
+ $(if $(filter 170,$(VCVER)),/p:PlatformToolset=v143 /p:VisualStudioVersion=17.0 /ToolsVersion:Current) \
$(if $(filter 10,$(WINDOWS_SDK_VERSION)),/p:WindowsTargetPlatformVersion=$(UCRTVERSION)) \
,PCBuild)
$(call gb_Trace_EndRange,python3,EXTERNAL)