CMakeLists.txt
changeset 11028 25cd7fe50180
parent 10907 e64cf9261cc7
child 11070 61401688628e
     1.1 --- a/CMakeLists.txt	Wed May 24 13:28:13 2017 -0400
     1.2 +++ b/CMakeLists.txt	Wed May 24 19:56:59 2017 -0400
     1.3 @@ -855,10 +855,10 @@
     1.4          file(GLOB SUN_AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/sun/*.c)
     1.5          set(SOURCE_FILES ${SOURCE_FILES} ${SUN_AUDIO_SOURCES})
     1.6          set(HAVE_SDL_AUDIO TRUE)
     1.7 -    elseif(NETBSD OR OPENBSD)
     1.8 -        set(SDL_AUDIO_DRIVER_BSD 1)
     1.9 -        file(GLOB BSD_AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/bsd/*.c)
    1.10 -        set(SOURCE_FILES ${SOURCE_FILES} ${BSD_AUDIO_SOURCES})
    1.11 +    elseif(NETBSD)
    1.12 +        set(SDL_AUDIO_DRIVER_NETBSD 1)
    1.13 +        file(GLOB NETBSD_AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/netbsd/*.c)
    1.14 +        set(SOURCE_FILES ${SOURCE_FILES} ${NETBSD_AUDIO_SOURCES})
    1.15          set(HAVE_SDL_AUDIO TRUE)
    1.16      elseif(AIX)
    1.17          set(SDL_AUDIO_DRIVER_PAUDIO 1)