mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[CMAKE]
- Add -fshort-wchar to host tools svn path=/branches/cmake-bringup/; revision=50320
This commit is contained in:
+4
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user