diff --git a/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt b/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt index e32a6c54ef2..a0be26acdd8 100644 --- a/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt +++ b/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt @@ -38,7 +38,7 @@ if(MSVC) set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/GR-") else() #add_target_compile_flags(portcls "-fno-exceptions -fno-rtti") - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti -Wno-write-strings -Wno-switch") + set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-fno-exceptions -fno-rtti -Wno-write-strings -Wno-switch -Wno-switch-enum") endif() add_cd_file(TARGET cmipci DESTINATION reactos/system32/drivers FOR all) @@ -47,3 +47,5 @@ if(ARCH STREQUAL "i386") else() add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/CM8738-x64-WaveRT.inf" DESTINATION reactos/inf FOR all) endif() + +allow_warnings(cmipci)