mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 08:15:46 -04:00
CMake: Disable warnings on third-party projects
This commit is contained in:
7
CMakeModules/DuckStationUtils.cmake
Normal file
7
CMakeModules/DuckStationUtils.cmake
Normal file
@ -0,0 +1,7 @@
|
||||
function(disable_compiler_warnings_for_target target)
|
||||
if(MSVC)
|
||||
target_compile_options(${target} PRIVATE "/W0")
|
||||
else()
|
||||
target_compile_options(${target} PRIVATE "-w")
|
||||
endif()
|
||||
endfunction()
|
Reference in New Issue
Block a user