mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
[CMAKE]
- Add -fshort-wchar to host tools svn path=/branches/cmake-bringup/; revision=50320
This commit is contained in:
parent
54f486c247
commit
287ba86f03
|
@ -17,6 +17,8 @@ endif()
|
|||
|
||||
if(NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_definitions(-fshort-wchar)
|
||||
|
||||
add_definitions(-DTARGET_${ARCH})
|
||||
|
||||
if(ARCH MATCHES i386)
|
||||
|
@ -51,14 +53,14 @@ else()
|
|||
set(IMPORT_EXECUTABLES "${REACTOS_BUILD_TOOLS_DIR}/ImportExecutables.cmake" CACHE FILEPATH "Host executables")
|
||||
include(${IMPORT_EXECUTABLES})
|
||||
|
||||
endif(NOT CMAKE_CROSSCOMPILING)
|
||||
endif()
|
||||
|
||||
# Compiler specific definitions and macros
|
||||
if(MSVC)
|
||||
include(msc.cmake)
|
||||
else()
|
||||
include(gcc.cmake)
|
||||
endif(MSVC)
|
||||
endif()
|
||||
|
||||
# Generic macros
|
||||
include(CMakeMacros.cmake)
|
||||
|
|
Loading…
Reference in a new issue