[UDFS] Fix crash on boot in release builds with UDFS removable media inserted (#4061...
[reactos.git] / modules / rosapps / applications / devutils / symdump / CMakeLists.txt
index 0e0bd3b..327566b 100644 (file)
@@ -4,7 +4,7 @@ add_executable(symdump symdump.c)
 set_module_type(symdump win32cui)
 target_link_libraries(symdump wine)
 add_importlibs(symdump dbghelp shlwapi msvcrt kernel32 ntdll)
-if(NOT MSVC)
-    target_compile_options(symdump PRIVATE "-Wno-unused-but-set-variable")
+if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
+    target_compile_options(symdump PRIVATE -Wno-unused-but-set-variable)
 endif()
 add_cd_file(TARGET symdump DESTINATION reactos/system32 FOR all)