From: Sylvain Petreolle Date: Sat, 8 Jan 2011 23:22:54 +0000 (+0000) Subject: [CMAKE] X-Git-Tag: backups/GSoC_2011/GSoC_Themes@51550~233 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f8f7ec4d56600f67f18dc1388b516358bdfc7ad8 [CMAKE] -fshort-wchar is not related to inline, neither is i386 specific. svn path=/branches/cmake-bringup/; revision=50337 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 696b156fd29..f38cf056078 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)