[PSEH2_TEST]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 24 Nov 2011 14:07:44 +0000 (14:07 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 24 Nov 2011 14:07:44 +0000 (14:07 +0000)
- Suppress unhelpful warnings
- Remove unneeded compiler flags

svn path=/trunk/; revision=54495

rostests/tests/pseh2/CMakeLists.txt

index 5308020..38b627f 100644 (file)
@@ -1,6 +1,4 @@
 
-add_definitions(-D_DLL -D__USE_CRTIMP)
-
 add_executable(pseh2_test psehtest.c psehtest2.c)
 target_link_libraries(pseh2_test wine ${PSEH_LIB})
 set_module_type(pseh2_test win32cui)
@@ -8,5 +6,5 @@ add_importlibs(pseh2_test msvcrt kernel32 ntdll)
 add_cd_file(TARGET pseh2_test DESTINATION reactos/bin FOR all)
 
 if(NOT MSVC)
-    allow_warnings(pseh2_test)
+    add_target_compile_flags(pseh2_test "-Wno-format")
 endif()