mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
CMake: Remove some superfluous error messages.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user