From 3c54642c813e0fee01209b21826c9924da7a4a46 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 27 Feb 2018 11:36:43 -0600 Subject: [PATCH] Fix iOS/ARM[-64] build w/ newer versions of CMake Newer versions of CMake (known to be the case with 3.7.x and 3.10.x) fail to add a space between CMAKE_C_FLAGS and CMAKE_ASM_FLAGS, which causes the build to fail when using the official build procedure. Closes #216 --- simd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simd/CMakeLists.txt b/simd/CMakeLists.txt index 82e14ce..9a49001 100755 --- a/simd/CMakeLists.txt +++ b/simd/CMakeLists.txt @@ -202,7 +202,7 @@ elseif(CPU_TYPE STREQUAL "arm64" OR CPU_TYPE STREQUAL "arm") enable_language(ASM) -set(CMAKE_ASM_FLAGS ${CMAKE_C_FLAGS}${CMAKE_ASM_FLAGS}) +set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ASM_FLAGS}") string(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_UC) set(EFFECTIVE_ASM_FLAGS "${CMAKE_ASM_FLAGS} ${CMAKE_ASM_FLAGS_${CMAKE_BUILD_TYPE_UC}}") -- 2.50.1