Build 3rdparty/soundtouch include as system

This commit is contained in:
Niram7777
2025-12-04 20:19:18 +01:00
committed by Ani
parent 8c9d266284
commit cbecb91b94
+2 -2
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>)