Build 3rdparty/soundtouch include as system
This commit is contained in:
Vendored
+2
-2
@@ -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>)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user