From b1605957f46cb5c8d4b9d77b29acaa6e9604a164 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 1 Sep 2015 10:49:13 -0700 Subject: cmake: Checked for ARMv8 to avoid building ARMv7 converters --- host/lib/convert/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/convert/CMakeLists.txt b/host/lib/convert/CMakeLists.txt index 024c2260b..10376ba9c 100644 --- a/host/lib/convert/CMakeLists.txt +++ b/host/lib/convert/CMakeLists.txt @@ -60,7 +60,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX) CHECK_INCLUDE_FILE_CXX(arm_neon.h HAVE_ARM_NEON_H) ENDIF(CMAKE_COMPILER_IS_GNUCXX) -IF(HAVE_ARM_NEON_H) +IF(HAVE_ARM_NEON_H AND (${CMAKE_SIZEOF_VOID_P} EQUAL 4)) ENABLE_LANGUAGE(ASM) LIBUHD_APPEND_SOURCES( -- cgit v1.2.3