X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rosapps%2Fapplications%2Fsysutils%2Futils%2Frosperf%2FCMakeLists.txt;h=92d9621eadc00584caadd52f6f2d1e6f6ac0f0ea;hp=0bda35027f2392495699bfa487e3da41002f962d;hb=aa76a2c168935541949f42bb7b507861af1393da;hpb=8d599fac7d6265a1daf140863c3dde0d912d58b4 diff --git a/rosapps/applications/sysutils/utils/rosperf/CMakeLists.txt b/rosapps/applications/sysutils/utils/rosperf/CMakeLists.txt index 0bda35027f2..92d9621eadc 100644 --- a/rosapps/applications/sysutils/utils/rosperf/CMakeLists.txt +++ b/rosapps/applications/sysutils/utils/rosperf/CMakeLists.txt @@ -11,6 +11,8 @@ list(APPEND SOURCE add_executable(rosperf ${SOURCE} rosperf.rc) set_module_type(rosperf win32cui UNICODE) -add_target_compile_flags(rosperf "-Wno-unused-but-set-variable") +if(NOT MSVC) + add_target_compile_flags(rosperf "-Wno-unused-but-set-variable") +endif() add_importlibs(rosperf version msimg32 gdi32 shell32 advapi32 user32 ntdll msvcrt kernel32) add_cd_file(TARGET rosperf DESTINATION reactos/system32 FOR all)