CMakeLists.txt
changeset 10777 2883d23b5a28
parent 10620 c37e02dd1a9b
child 10835 0e9e7a128391
     1.1 --- a/CMakeLists.txt	Fri Jan 06 21:23:51 2017 -0500
     1.2 +++ b/CMakeLists.txt	Fri Jan 06 20:43:53 2017 -0800
     1.3 @@ -267,8 +267,6 @@
     1.4  set_option(DUMMYAUDIO          "Support the dummy audio driver" ON)
     1.5  set_option(VIDEO_DIRECTFB      "Use DirectFB video driver" OFF)
     1.6  dep_option(DIRECTFB_SHARED     "Dynamically load directfb support" ON "VIDEO_DIRECTFB" OFF)
     1.7 -set_option(FUSIONSOUND         "Use FusionSound audio driver" OFF)
     1.8 -dep_option(FUSIONSOUND_SHARED  "Dynamically load fusionsound audio support" ON "FUSIONSOUND" OFF)
     1.9  set_option(VIDEO_DUMMY         "Use dummy video driver" ON)
    1.10  set_option(VIDEO_OPENGL        "Include OpenGL support" ON)
    1.11  set_option(VIDEO_OPENGLES      "Include OpenGL ES support" ON)
    1.12 @@ -287,6 +285,10 @@
    1.13  set_option(NAS                 "Support the NAS audio API" ${UNIX_SYS})
    1.14  set_option(NAS_SHARED          "Dynamically load NAS audio API" ${UNIX_SYS})
    1.15  set_option(SNDIO               "Support the sndio audio API" ${UNIX_SYS})
    1.16 +set_option(FUSIONSOUND         "Use FusionSound audio driver" OFF)
    1.17 +dep_option(FUSIONSOUND_SHARED  "Dynamically load fusionsound audio support" ON "FUSIONSOUND" OFF)
    1.18 +set_option(LIBSAMPLERATE       "Use libsamplerate for audio rate conversion" ${UNIX_SYS})
    1.19 +dep_option(LIBSAMPLERATE_SHARED "Dynamically load libsamplerate" ON "LIBSAMPLERATE" OFF)
    1.20  set_option(RPATH               "Use an rpath when linking SDL" ${UNIX_SYS})
    1.21  set_option(CLOCK_GETTIME       "Use clock_gettime() instead of gettimeofday()" OFF)
    1.22  set_option(INPUT_TSLIB         "Use the Touchscreen library for input" ${UNIX_SYS})
    1.23 @@ -847,6 +849,7 @@
    1.24      CheckNAS()
    1.25      CheckSNDIO()
    1.26      CheckFusionSound()
    1.27 +    CheckLibSampleRate()
    1.28    endif()
    1.29  
    1.30    if(SDL_VIDEO)