all repos — mgba @ 17d61564c9d853184bcc63276cde0999797e3678

mGBA Game Boy Advance Emulator

All: All ARM targets should enable ASM
Jeffrey Pfau jeffrey@endrift.com
Wed, 11 Mar 2015 02:16:48 -0700
commit

17d61564c9d853184bcc63276cde0999797e3678

parent

f59932a295955b10e5d9897a0be811edc36de8a6

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.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)