diff options
| author | 2017-05-27 22:09:28 -0700 | |
|---|---|---|
| committer | 2017-05-27 22:09:28 -0700 | |
| commit | 74afcd53286f0cae1782f7449084192f6b8619ff (patch) | |
| tree | 5bf0b6ae026543a62b57c9565f602d48cbecd270 | |
| parent | CMake: Use target properties to add inih include paths (diff) | |
| download | yuzu-74afcd53286f0cae1782f7449084192f6b8619ff.tar.gz yuzu-74afcd53286f0cae1782f7449084192f6b8619ff.tar.xz yuzu-74afcd53286f0cae1782f7449084192f6b8619ff.zip | |
CMake: Add SoundTouch include path to target property
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/audio_core/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6376862ca..7f099fd34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -272,6 +272,8 @@ endif() | |||
| 272 | 272 | ||
| 273 | # process subdirectories | 273 | # process subdirectories |
| 274 | add_subdirectory(externals/soundtouch) | 274 | add_subdirectory(externals/soundtouch) |
| 275 | # The SoundTouch target doesn't export the necessary include paths as properties by default | ||
| 276 | target_include_directories(SoundTouch INTERFACE "externals/soundtouch/include") | ||
| 275 | 277 | ||
| 276 | enable_testing() | 278 | enable_testing() |
| 277 | 279 | ||
diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt index ecd3025cc..0ad86bb7a 100644 --- a/src/audio_core/CMakeLists.txt +++ b/src/audio_core/CMakeLists.txt | |||
| @@ -27,8 +27,6 @@ set(HEADERS | |||
| 27 | time_stretch.h | 27 | time_stretch.h |
| 28 | ) | 28 | ) |
| 29 | 29 | ||
| 30 | include_directories(../../externals/soundtouch/include) | ||
| 31 | |||
| 32 | if(SDL2_FOUND) | 30 | if(SDL2_FOUND) |
| 33 | set(SRCS ${SRCS} sdl2_sink.cpp) | 31 | set(SRCS ${SRCS} sdl2_sink.cpp) |
| 34 | set(HEADERS ${HEADERS} sdl2_sink.h) | 32 | set(HEADERS ${HEADERS} sdl2_sink.h) |