mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
8 lines
194 B
CMake
8 lines
194 B
CMake
|
function(disable_compiler_warnings_for_target target)
|
||
|
if(MSVC)
|
||
|
target_compile_options(${target} PRIVATE "/W0")
|
||
|
else()
|
||
|
target_compile_options(${target} PRIVATE "-w")
|
||
|
endif()
|
||
|
endfunction()
|