Author: spetreolle
Date: Sat Jan 8 23:22:54 2011
New Revision: 50337
URL:
http://svn.reactos.org/svn/reactos?rev=50337&view=rev
Log:
[CMAKE]
-fshort-wchar is not related to inline, neither is i386 specific.
Modified:
branches/cmake-bringup/CMakeLists.txt
Modified: branches/cmake-bringup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?re…
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Sat Jan 8 23:22:54 2011
@@ -25,8 +25,6 @@
if(ARCH MATCHES i386)
if(MSVC)
add_definitions(-Dinline=__inline)
- else()
- add_definitions(-fshort-wchar)
endif()
endif()
@@ -37,6 +35,10 @@
include/reactos
include/reactos/wine
${REACTOS_BINARY_DIR}/include)
+
+ if(NOT MSVC)
+ add_definitions(-fshort-wchar)
+ endif()
add_subdirectory(tools)
add_subdirectory(lib)