source: flair-dev/trunk/cmake-modules/ArchDir.cmake@ 88

Last change on this file since 88 was 68, checked in by Sanahuja Guillaume, 7 years ago

maj for armv5te

File size: 352 bytes
Line 
1if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686")
2 message(FATAL_ERROR "i686 is not supported")
3endif()
4
5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
6 SET(ARCH_DIR "x86_64/unix")
7elseif(DEFINED CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE)
8 SET(ARCH_DIR ${CMAKE_SYSTEM_PROCESSOR_DEFAULTTUNE})
9else()
10 SET(ARCH_DIR ${CMAKE_SYSTEM_PROCESSOR})
11endif()
Note: See TracBrowser for help on using the repository browser.