CMakeLists.txt
changeset 11175 cbc6a8a5b701
parent 11138 c936a84f05ba
child 11207 4ed2e42b7497
     1.1 --- a/CMakeLists.txt	Mon Jul 31 13:49:22 2017 -0400
     1.2 +++ b/CMakeLists.txt	Wed Aug 02 10:22:48 2017 -0700
     1.3 @@ -314,6 +314,8 @@
     1.4  set_option(DIRECTX             "Use DirectX for Windows audio/video" ${WINDOWS})
     1.5  set_option(RENDER_D3D          "Enable the Direct3D render driver" ${WINDOWS})
     1.6  set_option(VIDEO_VIVANTE       "Use Vivante EGL video driver" ${UNIX_SYS})
     1.7 +set_option(VIDEO_KMSDRM        "Use KMS DRM video driver" ${UNIX_SYS})
     1.8 +dep_option(KMSDRM_SHARED       "Dynamically load KMS DRM support" ON "VIDEO_KMSDRM" OFF)
     1.9  
    1.10  # TODO: We should (should we?) respect cmake's ${BUILD_SHARED_LIBS} flag here
    1.11  # The options below are for compatibility to configure's default behaviour.
    1.12 @@ -917,6 +919,7 @@
    1.13      CheckOpenGLESX11()
    1.14      CheckWayland()
    1.15      CheckVivante()
    1.16 +    CheckKMSDRM()
    1.17    endif()
    1.18  
    1.19    if(LINUX)