mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[CMAKE]
- lowerize ARCH string (fixes cmlib) - move definition svn path=/branches/cmake-bringup/; revision=50465
This commit is contained in:
parent
83fb618aba
commit
a3604ffda3
1 changed files with 5 additions and 8 deletions
|
@ -11,6 +11,7 @@ cmake_policy(SET CMP0005 OLD)
|
|||
if(NOT ARCH)
|
||||
set(ARCH i386)
|
||||
endif()
|
||||
string(TOLOWER ${ARCH} ARCH)
|
||||
|
||||
# Compile options
|
||||
if(ARCH MATCHES i386)
|
||||
|
@ -25,10 +26,10 @@ if(NOT CMAKE_CROSSCOMPILING)
|
|||
|
||||
add_definitions(-DTARGET_${ARCH})
|
||||
|
||||
if(ARCH MATCHES i386)
|
||||
if(MSVC)
|
||||
add_definitions(-Dinline=__inline)
|
||||
endif()
|
||||
if(MSVC)
|
||||
add_definitions(-Dinline=__inline)
|
||||
else()
|
||||
add_definitions(-fshort-wchar)
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
|
@ -39,10 +40,6 @@ if(NOT CMAKE_CROSSCOMPILING)
|
|||
include/reactos/wine
|
||||
${REACTOS_BINARY_DIR}/include)
|
||||
|
||||
if(NOT MSVC)
|
||||
add_definitions(-fshort-wchar)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tools)
|
||||
add_subdirectory(lib)
|
||||
|
||||
|
|
Loading…
Reference in a new issue