1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-09 20:33:03 +01:00

CMake: Fix build with INTEGER_SAMPLES enabled

This commit is contained in:
Daniel E 2021-09-18 16:21:41 +00:00
parent e1f315f535
commit 77cbbb2227

View File

@ -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