From a5d9089b0c2ab64af40a224b60248fef0c32680d Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Sun, 21 Feb 2021 15:34:17 -0300 Subject: [PATCH] Make TARGET_ARCH persistent. --- commons.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons.cmake b/commons.cmake index b26f189..021bbd2 100644 --- a/commons.cmake +++ b/commons.cmake @@ -51,9 +51,9 @@ if (WIN32) }" HAVE_X64) if (HAVE_X64) - set(TARGET_ARCH x64) + set(TARGET_ARCH x64 CACHE INTERNAL "") else () - set(TARGET_ARCH x86) + set(TARGET_ARCH x86 CACHE INTERNAL "") endif() add_definitions(-DUNICODE -D_UNICODE)