From efa759d7e704f4303df093df7409c7ca870f501e Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 12 Feb 2020 08:46:21 -0600 Subject: [PATCH] Temporarily force the Windows cmake arch to 32-bit We can remove this when we support 64-bit on Windows. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 30db972ee..5c9e6aee8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,9 @@ if( WIN32 ) set( GETTEXT_VERSION "0.20.1.1" ) set( PYTHON_NAME "python2" ) set( PYTHON_VERSION "2.7.17" ) + + # For now, force the build to Win32 until we support 64-bit + set( CMAKE_GENERATOR_PLATFORM Win32 ) elseif( APPLE ) # Define the OSX compatibility parameters set( CMAKE_OSX_ARCHITECTURES x86_64 CACHE INTERNAL "" )