mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 00:32:48 +01:00
CMake: Add SoundTouch include path to target property
This commit is contained in:
parent
cb49df156d
commit
74afcd5328
2 changed files with 2 additions and 2 deletions
|
@ -272,6 +272,8 @@ endif()
|
||||||
|
|
||||||
# process subdirectories
|
# process subdirectories
|
||||||
add_subdirectory(externals/soundtouch)
|
add_subdirectory(externals/soundtouch)
|
||||||
|
# The SoundTouch target doesn't export the necessary include paths as properties by default
|
||||||
|
target_include_directories(SoundTouch INTERFACE "externals/soundtouch/include")
|
||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,6 @@ set(HEADERS
|
||||||
time_stretch.h
|
time_stretch.h
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(../../externals/soundtouch/include)
|
|
||||||
|
|
||||||
if(SDL2_FOUND)
|
if(SDL2_FOUND)
|
||||||
set(SRCS ${SRCS} sdl2_sink.cpp)
|
set(SRCS ${SRCS} sdl2_sink.cpp)
|
||||||
set(HEADERS ${HEADERS} sdl2_sink.h)
|
set(HEADERS ${HEADERS} sdl2_sink.h)
|
||||||
|
|
Loading…
Reference in a new issue