From 7a288cba0c96ae560d1b8b1c289268d5469df3da Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 19 May 2010 06:14:18 +0400 Subject: [PATCH 3/9] Support amd64 as an alias for x86_64 --- CMakeLists.txt | 2 +- plugin-dir/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f615695..39a4673 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ ENDIF() SET(LIBSPARK_SOURCES swf.cpp swftypes.cpp tags.cpp geometry.cpp actions.cpp frame.cpp input.cpp streams.cpp tags_stub.cpp logger.cpp vm.cpp asobjects.cpp abc.cpp abc_codesynt.cpp abc_opcodes.cpp flashdisplay.cpp flashevents.cpp textfile.cpp thread_pool.cpp flashgeom.cpp flashnet.cpp flashsystem.cpp flashutils.cpp compat.cpp abc_interpreter.cpp flashexternal.cpp flashtext.cpp flashmedia.cpp flv.cpp netutils.cpp timer.cpp decoder.cpp threading.cpp flashxml.cpp) IF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "i[3-6]86") SET(LIBSPARK_SOURCES ${LIBSPARK_SOURCES} fastpaths_32.asm) -ELSEIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") +ELSEIF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64|amd64") SET(LIBSPARK_SOURCES ${LIBSPARK_SOURCES} fastpaths_64.asm) ELSE() MESSAGE(SEND_ERROR "Platform ${CMAKE_SYSTEM_PROCESSOR} not supported") diff --git a/plugin-dir/CMakeLists.txt b/plugin-dir/CMakeLists.txt index 35f77ed..d46bc2a 100644 --- a/plugin-dir/CMakeLists.txt +++ b/plugin-dir/CMakeLists.txt @@ -34,7 +34,7 @@ ENDIF(UNIX) SET(LIBSPARK_SOURCES ../swf.cpp ../swftypes.cpp ../tags.cpp ../geometry.cpp ../actions.cpp ../frame.cpp ../input.cpp ../streams.cpp ../tags_stub.cpp ../logger.cpp ../vm.cpp ../asobjects.cpp ../abc.cpp ../abc_codesynt.cpp ../abc_opcodes.cpp ../flashdisplay.cpp ../flashevents.cpp ../textfile.cpp ../thread_pool.cpp ../flashgeom.cpp ../flashnet.cpp ../flashsystem.cpp ../flashutils.cpp ../compat.cpp ../abc_interpreter.cpp ../flashexternal.cpp ../flashtext.cpp ../flashmedia.cpp ../flv.cpp ../netutils.cpp ../timer.cpp ../decoder.cpp ../threading.cpp ../flashxml.cpp) IF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "i[3-6]86") SET(LIBSPARK_SOURCES ${LIBSPARK_SOURCES} ../fastpaths_32.asm) -ELSEIF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") +ELSEIF(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64|amd64") SET(LIBSPARK_SOURCES ${LIBSPARK_SOURCES} ../fastpaths_64.asm) ELSE() MESSAGE(SEND_ERROR "Platform ${CMAKE_SYSTEM_PROCESSOR} not supported") -- 1.7.1