From c606fca6a6c29c672b1e8abe3b25195253c67982 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 22 Apr 2021 17:29:26 +0400 Subject: [PATCH] Fix configure on x64 Native Tools Command Prompt. --- variables.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/variables.cmake b/variables.cmake index 7e683a7..22d410a 100644 --- a/variables.cmake +++ b/variables.cmake @@ -75,6 +75,8 @@ if (WIN32) set(build_win64 1) set(build_winstore 1) set(build_winstore64 1) + elseif (CMAKE_SIZEOF_VOID_P EQUAL 8) + set(build_win64 1) endif() elseif (APPLE) if (DESKTOP_APP_SPECIAL_TARGET STREQUAL "osx")