All: All ARM targets should enable ASM

This commit is contained in:
Jeffrey Pfau 2015-03-11 02:16:48 -07:00
parent f59932a295
commit 17d61564c9

View File

@ -132,12 +132,15 @@ if(APPLE OR CMAKE_C_COMPILER_ID STREQUAL "GNU" AND BUILD_LTO)
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)
check_function_exists(strndup HAVE_STRNDUP)
check_function_exists(snprintf_l HAVE_SNPRINTF_L)