From be212c14cd22c11e7b5c087c2b7aa20ab71f3787 Mon Sep 17 00:00:00 2001 From: sonoro1234 Date: Thu, 15 Nov 2018 10:20:36 +0100 Subject: [PATCH 1/1] CMakeLists.txt: only change include in WASAPI --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 50ee21d..89b5372 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,7 +93,7 @@ set(API_DEFS) set(API_LIST) # Tweak API-specific configuration. -include_directories(include) + # Jack if (RTAUDIO_API_JACK AND jack_FOUND) set(NEED_PTHREAD ON) @@ -177,6 +177,7 @@ endif() # WASAPI if (RTAUDIO_API_WASAPI) + include_directories(include) set(NEED_WIN32LIBS ON) list(APPEND LINKLIBS ksuser mfplat mfuuid wmcodecdspuuid) list(APPEND API_DEFS "-D__WINDOWS_WASAPI__") -- 2.30.2