mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-12-29 11:11:51 +01:00
14 lines
473 B
Diff
14 lines
473 B
Diff
|
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
|
||
|
index 65a98efbe..2f99f28f1 100644
|
||
|
--- a/cmake/sdlchecks.cmake
|
||
|
+++ b/cmake/sdlchecks.cmake
|
||
|
@@ -352,7 +352,7 @@ endmacro()
|
||
|
# - HAVE_SDL_LOADSO opt
|
||
|
macro(CheckLibSampleRate)
|
||
|
if(SDL_LIBSAMPLERATE)
|
||
|
- find_package(SampleRate QUIET)
|
||
|
+ find_package(SampleRate CONFIG REQUIRED)
|
||
|
if(SampleRate_FOUND AND TARGET SampleRate::samplerate)
|
||
|
set(HAVE_LIBSAMPLERATE TRUE)
|
||
|
set(HAVE_LIBSAMPLERATE_H TRUE)
|