All: All ARM targets should enable ASM
Jeffrey Pfau jeffrey@endrift.com
Wed, 11 Mar 2015 02:16:48 -0700
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.txt
@@ -132,10 +132,13 @@ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto")
endif() if(BUILD_BBB OR BUILD_RASPI) - enable_language(ASM) if(NOT BUILD_EGL) add_definitions(-DCOLOR_16_BIT -DCOLOR_5_6_5) endif() +endif() + +if(CMAKE_SYSTEM_PROCESSOR STREQUAL "arm") + enable_language(ASM) endif() include(CheckFunctionExists)