Changeset 107 in flair-src for trunk/tools/FlairGCS


Ignore:
Timestamp:
Nov 3, 2016, 11:11:54 AM (8 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/CMakeLists.txt

    r88 r107  
    22cmake_minimum_required(VERSION 2.8)
    33include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake)
     4
     5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
    46
    57execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion
     
    8587
    8688SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     89
     90else()
     91warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     92endif()
Note: See TracChangeset for help on using the changeset viewer.