[WINMM_WINETEST]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 11 Sep 2014 11:04:28 +0000 (11:04 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 11 Sep 2014 11:04:28 +0000 (11:04 +0000)
* Addendum to r64114.
CORE-8516

svn path=/trunk/; revision=64117

rostests/winetests/winmm/CMakeLists.txt

index 914ee71..e15cec2 100644 (file)
@@ -17,5 +17,8 @@ add_importlibs(winmm_winetest winmm user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET winmm_winetest DESTINATION reactos/bin FOR all)
 
 if(NOT MSVC)
-    add_target_compile_flags(winmm_winetest "-Wno-format -Wno-unused-but-set-variable")
+    add_target_compile_flags(winmm_winetest "-Wno-format")
+    if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
+        add_target_compile_flags(winmm_winetest "-Wno-unused-but-set-variable")
+    endif()
 endif()