Skip to content
Snippets Groups Projects
Commit 74afcd53 authored by Yuri Kunde Schlesner's avatar Yuri Kunde Schlesner
Browse files

CMake: Add SoundTouch include path to target property

parent cb49df15
No related branches found
No related tags found
No related merge requests found
...@@ -272,6 +272,8 @@ endif() ...@@ -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 ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment