mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 05:46:19 +00:00
[CMAKE]
- 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:
parent
c74b766c0c
commit
8c95f75064
|
@ -2,6 +2,10 @@
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
project(REACTOS)
|
project(REACTOS)
|
||||||
|
|
||||||
|
if(NOT ARCH)
|
||||||
|
set(ARCH i386)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Compile options
|
# Compile options
|
||||||
if(ARCH MATCHES i386)
|
if(ARCH MATCHES i386)
|
||||||
include(config.cmake)
|
include(config.cmake)
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
|
|
||||||
if(NOT ARCH)
|
|
||||||
set(ARCH i386)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Choose the right MinGW prefix
|
# Choose the right MinGW prefix
|
||||||
if(ARCH MATCHES i386)
|
if(ARCH MATCHES i386)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue