Browse Source

Install pa_win_waveformat.h with MME, DirectSound and WASAPI.

pa_win_wmme.h, pa_win_ds.h and pa_win_wasapi.h all include
pa_win_waveformat.h. If the latter is not installed, none of these
headers are usable.
mr/7040151/95e86c307b9cd20180f3c1f52853c3424ce62ae5
Etienne Dechamps 7 months ago
parent
commit
95e86c307b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      CMakeLists.txt

+ 3
- 3
CMakeLists.txt View File

@@ -184,7 +184,7 @@ IF(WIN32)
184 184
     SET(PA_DS_INCLUDES src/hostapi/dsound/pa_win_ds_dynlink.h)
185 185
     SET(PA_DS_SOURCES src/hostapi/dsound/pa_win_ds.c src/hostapi/dsound/pa_win_ds_dynlink.c)
186 186
     SOURCE_GROUP("hostapi\\dsound" FILES ${PA_DS_INCLUDES} ${PA_DS_SOURCES})
187
-    SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_ds.h)
187
+    SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_ds.h include/pa_win_waveformat.h)
188 188
     SET(PA_PRIVATE_INCLUDES ${PA_PRIVATE_INCLUDES} ${PA_DS_INCLUDES})
189 189
     SET(PA_SOURCES ${PA_SOURCES} ${PA_DS_SOURCES})
190 190
     SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} dsound)
@@ -194,7 +194,7 @@ IF(WIN32)
194 194
   IF(PA_USE_WMME)
195 195
     SET(PA_WMME_SOURCES src/hostapi/wmme/pa_win_wmme.c)
196 196
     SOURCE_GROUP("hostapi\\wmme" FILES ${PA_WMME_SOURCES})
197
-    SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wmme.h)
197
+    SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wmme.h include/pa_win_waveformat.h)
198 198
     SET(PA_SOURCES ${PA_SOURCES} ${PA_WMME_SOURCES})
199 199
     SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ole32 uuid)
200 200
   ENDIF()
@@ -206,7 +206,7 @@ IF(WIN32)
206 206
   IF(PA_USE_WASAPI)
207 207
     SET(PA_WASAPI_SOURCES src/hostapi/wasapi/pa_win_wasapi.c)
208 208
     SOURCE_GROUP("hostapi\\wasapi" FILES ${PA_WASAPI_SOURCES})
209
-    SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wasapi.h)
209
+    SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wasapi.h include/pa_win_waveformat.h)
210 210
     SET(PA_SOURCES ${PA_SOURCES} ${PA_WASAPI_SOURCES})
211 211
     SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ole32 uuid)
212 212
   ELSE()

Loading…
Cancel
Save