From: sonoro1234 Date: Thu, 15 Nov 2018 09:20:36 +0000 (+0100) Subject: CMakeLists.txt: only change include in WASAPI X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=be212c14cd22c11e7b5c087c2b7aa20ab71f3787;hp=ee101b2f7f1cc026e4fed2048988264aebcab51f;p=rtaudio-cdist.git CMakeLists.txt: only change include in WASAPI --- 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__")