Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/CMakeLists.txt
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-08-03 11:54:08 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-08-03 11:54:08 +1000
commit908fa1ee606b80eec47c6fc70ce018308ef06e98 (patch)
tree61b3248cb01c1946f169612a15f04e7cbd4c068a /source/CMakeLists.txt
parent497c6efc5555f3c45b7e092b461f39a3d89de865 (diff)
Add libsamplerate, make Voice bitrate configurable
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r--source/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 2192700..d66fb9d 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -177,6 +177,7 @@ endif()
message(STATUS "Using Lua API checks: ${STAR_LUA_APICHECK}")
message(STATUS "Using jemalloc: ${STAR_USE_JEMALLOC}")
message(STATUS "Using mimalloc: ${STAR_USE_MIMALLOC}")
+message(STATUS "Using rpmalloc: ${STAR_USE_RPMALLOC}")
# Set C defines and cmake variables based on the build settings we have now
# determined...
@@ -486,8 +487,10 @@ set(STAR_EXT_LIBS ${STAR_EXT_LIBS}
if(STAR_BUILD_GUI)
find_package(SDL2 CONFIG REQUIRED)
+ find_package(SampleRate CONFIG REQUIRED)
set(STAR_EXT_GUI_LIBS
+ SampleRate::samplerate
$<TARGET_NAME_IF_EXISTS:SDL2::SDL2main>
$<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>
)