Skip to content

Commit

Permalink
fix: detection for opus alone was broken; fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Oct 11, 2024
1 parent 1d0c5eb commit 24e6fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ if (BUILD_VOICE_SUPPORT)
include("${CMAKE_CURRENT_SOURCE_DIR}/../cmake/FindOpus.cmake")
endif()

if(DEFINED OPUS_FOUND)
if(HAVE_OPUS_OPUS_H)
message("-- Found Opus ${Green}${OPUS_LIBRARIES}${ColourReset}")
add_compile_definitions(HAVE_VOICE)
set(HAVE_VOICE 1)
Expand Down

0 comments on commit 24e6fc4

Please sign in to comment.