From a20a4d6e407c68c8444a2ee8ce805eea131bcbec Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 13 Jul 2022 10:11:30 -0700 Subject: [PATCH] fix incorrect 64-bit detection -- powerpc64le doesn't end in 64 but is 64-bit (#8955) Signed-off-by: Jacob Lifshay --- cmake/FindANTLR3.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindANTLR3.cmake b/cmake/FindANTLR3.cmake index a357ca909..abb19bcd4 100644 --- a/cmake/FindANTLR3.cmake +++ b/cmake/FindANTLR3.cmake @@ -97,7 +97,7 @@ if(NOT ANTLR3_FOUND_SYSTEM) BUILD_BYPRODUCTS /share/config.sub ) - if(CMAKE_SYSTEM_PROCESSOR MATCHES ".*64$") + if(CMAKE_SIZEOF_VOID_P EQUAL 8) set(64bit "--enable-64bit") else() unset(64bit) -- 2.30.2