From 77cbbb2227d41432ee2d6781d174b544c3f29ca5 Mon Sep 17 00:00:00 2001 From: Daniel E Date: Sat, 18 Sep 2021 16:21:41 +0000 Subject: [PATCH] CMake: Fix build with INTEGER_SAMPLES enabled --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bd8a15..cca4ca2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,6 +105,9 @@ if(SOUNDSTRETCH) target_compile_definitions(soundstretch PRIVATE ${COMPILE_DEFINITIONS}) target_compile_options(soundstretch PRIVATE ${COMPILE_OPTIONS}) target_link_libraries(soundstretch PRIVATE SoundTouch) + if(INTEGER_SAMPLES) + target_compile_definitions(soundstretch PRIVATE SOUNDTOUCH_INTEGER_SAMPLES) + endif() install(TARGETS soundstretch DESTINATION bin