mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 07:30:02 +01:00
CMake: Fix build with INTEGER_SAMPLES enabled
This commit is contained in:
parent
e1f315f535
commit
77cbbb2227
@ -105,6 +105,9 @@ if(SOUNDSTRETCH)
|
|||||||
target_compile_definitions(soundstretch PRIVATE ${COMPILE_DEFINITIONS})
|
target_compile_definitions(soundstretch PRIVATE ${COMPILE_DEFINITIONS})
|
||||||
target_compile_options(soundstretch PRIVATE ${COMPILE_OPTIONS})
|
target_compile_options(soundstretch PRIVATE ${COMPILE_OPTIONS})
|
||||||
target_link_libraries(soundstretch PRIVATE SoundTouch)
|
target_link_libraries(soundstretch PRIVATE SoundTouch)
|
||||||
|
if(INTEGER_SAMPLES)
|
||||||
|
target_compile_definitions(soundstretch PRIVATE SOUNDTOUCH_INTEGER_SAMPLES)
|
||||||
|
endif()
|
||||||
|
|
||||||
install(TARGETS soundstretch
|
install(TARGETS soundstretch
|
||||||
DESTINATION bin
|
DESTINATION bin
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user