Build 3rdparty/soundtouch include as system

This commit is contained in:
Niram7777 2025-12-04 20:19:18 +01:00
parent a1473e7f74
commit 7d82eebba2

View file

@ -11,11 +11,11 @@ add_library(soundtouch STATIC EXCLUDE_FROM_ALL
soundtouch/source/SoundTouch/TDStretch.cpp soundtouch/source/SoundTouch/TDStretch.cpp
) )
target_include_directories(soundtouch PRIVATE target_include_directories(soundtouch SYSTEM PRIVATE
soundtouch/source/SoundTouch soundtouch/source/SoundTouch
soundtouch/include) soundtouch/include)
target_include_directories(soundtouch INTERFACE target_include_directories(soundtouch SYSTEM INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/soundtouch/include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/soundtouch/include>
$<INSTALL_INTERFACE:/soundtouch/include>) $<INSTALL_INTERFACE:/soundtouch/include>)