From 5752035a9209a6bdd04216148a746730911ec4e2 Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Wed, 31 Aug 2022 01:11:19 +0200 Subject: [PATCH] This works on Arm too... --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cb81af2..96566086 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,12 +96,12 @@ set(LIBS ${LIBS} Qt6::Widgets Qt6::Gui Qt6::Core Qt6::Xml Qt6::OpenGL Qt6::OpenG # # Configuration # -if (CMAKE_SIZEOF_VOID_P MATCHES 8) # if x64 - message(STATUS "x64 configuration") - set(CONFIGURATION "x64") -else() # if x86 - message(STATUS "x86 configuration") - set(CONFIGURATION "x86") +if (CMAKE_SIZEOF_VOID_P MATCHES 8) # if 64-bits + message(STATUS "64 bits configuration") + set(CONFIGURATION "BUILD_64") +else() # if 32-bits + message(STATUS "32 bits configuration") + set(CONFIGURATION "BUILD_32") endif() #