- Move the ARCH initialization to the main cmake file instead of the toolchain file.

svn path=/branches/cmake-bringup/; revision=50186
This commit is contained in:
Amine Khaldi 2010-12-28 11:50:56 +00:00
parent c74b766c0c
commit 8c95f75064
2 changed files with 4 additions and 4 deletions

View file

@ -2,6 +2,10 @@
cmake_minimum_required(VERSION 2.8)
project(REACTOS)
if(NOT ARCH)
set(ARCH i386)
endif()
# Compile options
if(ARCH MATCHES i386)
include(config.cmake)

View file

@ -1,8 +1,4 @@
if(NOT ARCH)
set(ARCH i386)
endif()
# Choose the right MinGW prefix
if(ARCH MATCHES i386)