Author: jgardou
Date: Sun Sep 4 21:06:02 2011
New Revision: 53592
URL:
http://svn.reactos.org/svn/reactos?rev=53592&view=rev
Log:
[CMAKE]
- fix msvc build
Modified:
trunk/rostests/winetests/kernel32/CMakeLists.txt
Modified: trunk/rostests/winetests/kernel32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/CMakeL…
==============================================================================
--- trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] Sun Sep 4 21:06:02
2011
@@ -50,7 +50,8 @@
target_link_libraries(kernel32_winetest wine)
set_module_type(kernel32_winetest win32cui)
add_importlibs(kernel32_winetest user32 advapi32 msvcrt kernel32 ntdll)
-
-allow_warnings(kernel32_winetest)
+if(NOT MSVC)
+ allow_warnings(kernel32_winetest)
+endif()
add_cd_file(TARGET kernel32_winetest DESTINATION reactos/bin FOR all)