mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +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)
|
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/external/ogg/CMakeLists.txt)
|
||||||
message(STATUS "Building libogg from source.")
|
message(STATUS "Building libogg from source.")
|
||||||
add_subdirectory(external/ogg)
|
add_subdirectory(external/ogg)
|
||||||
else()
|
|
||||||
message(STATUS "libogg not found.")
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
@@ -418,8 +416,6 @@ function(add_libvorbis_subdirectory)
|
|||||||
if(TARGET ogg)
|
if(TARGET ogg)
|
||||||
message(STATUS "Building libvorbis from source.")
|
message(STATUS "Building libvorbis from source.")
|
||||||
add_subdirectory(external/vorbis)
|
add_subdirectory(external/vorbis)
|
||||||
else()
|
|
||||||
message(STATUS "libogg not found. miniaudio_libvorbis will be excluded.")
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
@@ -431,8 +427,6 @@ function(add_libopus_subdirectory)
|
|||||||
message(STATUS "Building libopus from source.")
|
message(STATUS "Building libopus from source.")
|
||||||
set(OPUS_BUILD_TESTING OFF)
|
set(OPUS_BUILD_TESTING OFF)
|
||||||
add_subdirectory(external/opus)
|
add_subdirectory(external/opus)
|
||||||
else()
|
|
||||||
message(STATUS "libopus not found. miniaudio_libopus will be excluded.")
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
@@ -449,11 +443,7 @@ function(add_libopusfile_subdirectory)
|
|||||||
set(OP_DISABLE_DOCS TRUE)
|
set(OP_DISABLE_DOCS TRUE)
|
||||||
set(OP_DISABLE_EXAMPLES TRUE)
|
set(OP_DISABLE_EXAMPLES TRUE)
|
||||||
add_subdirectory(external/opusfile)
|
add_subdirectory(external/opusfile)
|
||||||
else()
|
|
||||||
message(STATUS "libopus not found. miniaudio_libopus will be excluded.")
|
|
||||||
endif()
|
endif()
|
||||||
else()
|
|
||||||
message(STATUS "libogg not found. miniaudio_libopus will be excluded.")
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user