[CMAKE]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 8 Jan 2011 22:33:22 +0000 (22:33 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 8 Jan 2011 22:33:22 +0000 (22:33 +0000)
Move -fshort-wchar defintion (gcc specific).

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

CMakeLists.txt

index 378babe..696b156 100644 (file)
@@ -20,13 +20,13 @@ endif()
 
 if(NOT CMAKE_CROSSCOMPILING)
 
-    add_definitions(-fshort-wchar)
-
     add_definitions(-DTARGET_${ARCH})
 
     if(ARCH MATCHES i386)
         if(MSVC)
             add_definitions(-Dinline=__inline)
+        else()
+            add_definitions(-fshort-wchar)
         endif()
     endif()