Changeset 107 in flair-src for trunk/tools/Dbt2csv/CMakeLists.txt


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

m

File:
1 edited

Legend:

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

    r45 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
    57SET(PROJECT_SOURCE_FILES
     
    4749
    4850SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
     51
     52else()
     53warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
     54endif()
Note: See TracChangeset for help on using the changeset viewer.