[CMAKE]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 8 Jan 2011 23:22:54 +0000 (23:22 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 8 Jan 2011 23:22:54 +0000 (23:22 +0000)
-fshort-wchar is not related to inline, neither is i386 specific.

svn path=/branches/cmake-bringup/; revision=50337

CMakeLists.txt

index 696b156..f38cf05 100644 (file)
@@ -25,8 +25,6 @@ if(NOT CMAKE_CROSSCOMPILING)
     if(ARCH MATCHES i386)
         if(MSVC)
             add_definitions(-Dinline=__inline)
-        else()
-            add_definitions(-fshort-wchar)
         endif()
     endif()
 
@@ -38,6 +36,10 @@ 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)