CMake: Remove some superfluous error messages.

This commit is contained in:
David Reid
2026-01-03 15:06:50 +10:00
parent 70a3690499
commit 28d071766d
-10
View File
@@ -405,8 +405,6 @@ function(add_libogg_subdirectory)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/external/ogg/CMakeLists.txt)
message(STATUS "Building libogg from source.")
add_subdirectory(external/ogg)
else()
message(STATUS "libogg not found.")
endif()
endif()
endfunction()
@@ -418,8 +416,6 @@ function(add_libvorbis_subdirectory)
if(TARGET ogg)
message(STATUS "Building libvorbis from source.")
add_subdirectory(external/vorbis)
else()
message(STATUS "libogg not found. miniaudio_libvorbis will be excluded.")
endif()
endif()
endif()
@@ -431,8 +427,6 @@ function(add_libopus_subdirectory)
message(STATUS "Building libopus from source.")
set(OPUS_BUILD_TESTING OFF)
add_subdirectory(external/opus)
else()
message(STATUS "libopus not found. miniaudio_libopus will be excluded.")
endif()
endif()
endfunction()
@@ -449,11 +443,7 @@ function(add_libopusfile_subdirectory)
set(OP_DISABLE_DOCS TRUE)
set(OP_DISABLE_EXAMPLES TRUE)
add_subdirectory(external/opusfile)
else()
message(STATUS "libopus not found. miniaudio_libopus will be excluded.")
endif()
else()
message(STATUS "libogg not found. miniaudio_libopus will be excluded.")
endif()
endif()
endif()