Skip to content

Commit

Permalink
fix typos (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
midzer committed Jan 19, 2024
1 parent 8c3f111 commit b9f25aa
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ if(ALSOFT_CPUEXT_SSE AND HAVE_XMMINTRIN_H)
set(HAVE_SSE 1)
endif()
if(ALSOFT_REQUIRE_SSE AND NOT HAVE_SSE)
message(FATAL_ERROR "Failed to enabled required SSE CPU extensions")
message(FATAL_ERROR "Failed to enable required SSE CPU extensions")
endif()

option(ALSOFT_CPUEXT_SSE2 "Enable SSE2 support" ON)
Expand Down Expand Up @@ -465,7 +465,7 @@ if(ALSOFT_CPUEXT_NEON AND HAVE_ARM_NEON_H)
endif()
endif()
if(ALSOFT_REQUIRE_NEON AND NOT HAVE_NEON)
message(FATAL_ERROR "Failed to enabled required ARM NEON CPU extensions")
message(FATAL_ERROR "Failed to enable required ARM NEON CPU extensions")
endif()


Expand Down Expand Up @@ -744,7 +744,7 @@ if(NOT WIN32)
endif()
endif()
if(ALSOFT_REQUIRE_RTKIT AND NOT HAVE_RTKIT)
message(FATAL_ERROR "Failed to enabled required RTKit support")
message(FATAL_ERROR "Failed to enable required RTKit support")
endif()

# Default mixers, always available
Expand Down Expand Up @@ -922,7 +922,7 @@ if(ALSOFT_BACKEND_PIPEWIRE AND PkgConfig_FOUND)
endif()
endif()
if(ALSOFT_REQUIRE_PIPEWIRE AND NOT HAVE_PIPEWIRE)
message(FATAL_ERROR "Failed to enabled required PipeWire backend")
message(FATAL_ERROR "Failed to enable required PipeWire backend")
endif()

# Check PulseAudio backend
Expand All @@ -939,7 +939,7 @@ if(ALSOFT_BACKEND_PULSEAUDIO)
endif()
endif()
if(ALSOFT_REQUIRE_PULSEAUDIO AND NOT HAVE_PULSEAUDIO)
message(FATAL_ERROR "Failed to enabled required PulseAudio backend")
message(FATAL_ERROR "Failed to enable required PulseAudio backend")
endif()

if(NOT WIN32)
Expand Down Expand Up @@ -1001,16 +1001,16 @@ if(NOT WIN32)
endif()
endif()
if(ALSOFT_REQUIRE_ALSA AND NOT HAVE_ALSA)
message(FATAL_ERROR "Failed to enabled required ALSA backend")
message(FATAL_ERROR "Failed to enable required ALSA backend")
endif()
if(ALSOFT_REQUIRE_OSS AND NOT HAVE_OSS)
message(FATAL_ERROR "Failed to enabled required OSS backend")
message(FATAL_ERROR "Failed to enable required OSS backend")
endif()
if(ALSOFT_REQUIRE_SOLARIS AND NOT HAVE_SOLARIS)
message(FATAL_ERROR "Failed to enabled required Solaris backend")
message(FATAL_ERROR "Failed to enable required Solaris backend")
endif()
if(ALSOFT_REQUIRE_SNDIO AND NOT HAVE_SNDIO)
message(FATAL_ERROR "Failed to enabled required SndIO backend")
message(FATAL_ERROR "Failed to enable required SndIO backend")
endif()

# Check Windows-only backends
Expand Down Expand Up @@ -1065,13 +1065,13 @@ if(WIN32)
endif()
endif()
if(ALSOFT_REQUIRE_WINMM AND NOT HAVE_WINMM)
message(FATAL_ERROR "Failed to enabled required WinMM backend")
message(FATAL_ERROR "Failed to enable required WinMM backend")
endif()
if(ALSOFT_REQUIRE_DSOUND AND NOT HAVE_DSOUND)
message(FATAL_ERROR "Failed to enabled required DSound backend")
message(FATAL_ERROR "Failed to enable required DSound backend")
endif()
if(ALSOFT_REQUIRE_WASAPI AND NOT HAVE_WASAPI)
message(FATAL_ERROR "Failed to enabled required WASAPI backend")
message(FATAL_ERROR "Failed to enable required WASAPI backend")
endif()

# Check JACK backend
Expand All @@ -1088,7 +1088,7 @@ if(ALSOFT_BACKEND_JACK)
endif()
endif()
if(ALSOFT_REQUIRE_JACK AND NOT HAVE_JACK)
message(FATAL_ERROR "Failed to enabled required JACK backend")
message(FATAL_ERROR "Failed to enable required JACK backend")
endif()

# Check CoreAudio backend
Expand Down Expand Up @@ -1123,7 +1123,7 @@ if(ALSOFT_BACKEND_COREAUDIO)
endif()
endif()
if(ALSOFT_REQUIRE_COREAUDIO AND NOT HAVE_COREAUDIO)
message(FATAL_ERROR "Failed to enabled required CoreAudio backend")
message(FATAL_ERROR "Failed to enable required CoreAudio backend")
endif()

# Check for Oboe (Android) backend
Expand Down Expand Up @@ -1155,7 +1155,7 @@ if(ALSOFT_BACKEND_OBOE)
endif()
endif()
if(ALSOFT_REQUIRE_OBOE AND NOT HAVE_OBOE)
message(FATAL_ERROR "Failed to enabled required Oboe backend")
message(FATAL_ERROR "Failed to enable required Oboe backend")
endif()

# Check for OpenSL (Android) backend
Expand All @@ -1172,7 +1172,7 @@ if(ALSOFT_BACKEND_OPENSL)
endif()
endif()
if(ALSOFT_REQUIRE_OPENSL AND NOT HAVE_OPENSL)
message(FATAL_ERROR "Failed to enabled required OpenSL backend")
message(FATAL_ERROR "Failed to enable required OpenSL backend")
endif()

# Check PortAudio backend
Expand All @@ -1189,7 +1189,7 @@ if(ALSOFT_BACKEND_PORTAUDIO)
endif()
endif()
if(ALSOFT_REQUIRE_PORTAUDIO AND NOT HAVE_PORTAUDIO)
message(FATAL_ERROR "Failed to enabled required PortAudio backend")
message(FATAL_ERROR "Failed to enable required PortAudio backend")
endif()

# Check for SDL2 backend
Expand All @@ -1207,7 +1207,7 @@ if(ALSOFT_BACKEND_SDL2)
endif()
endif()
if(ALSOFT_REQUIRE_SDL2 AND NOT SDL2_FOUND)
message(FATAL_ERROR "Failed to enabled required SDL2 backend")
message(FATAL_ERROR "Failed to enable required SDL2 backend")
endif()

# Optionally enable the Wave Writer backend
Expand Down

0 comments on commit b9f25aa

Please sign in to comment.