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

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

maj for armv5te

File size: 352 bytes
RevLine 
[68]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})
[2]9else()
[68]10 SET(ARCH_DIR ${CMAKE_SYSTEM_PROCESSOR})
[2]11endif()
Note: See TracBrowser for help on using the repository browser.