X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=apps%2FCMakeLists.txt;h=6f38fdd74759f763d69ab5725a690f349525d128;hb=7aa463806c4e6616699c8f742cc8204b4d129b0a;hp=7218458c481dc1c0475e16773ceecf60ae40bce8;hpb=009c029e5360c8ae668b21caffeb275639ede8a7;p=apitrace-tests diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 7218458..6f38fdd 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -24,7 +24,7 @@ function (ADD_APP_TEST) ) endfunction () -if (OPENGL_FOUND) +if (OPENGL_FOUND AND GLEW_FOUND AND GLUT_FOUND) add_subdirectory (gl) endif () @@ -32,10 +32,22 @@ if (EGL_FOUND) add_subdirectory (egl) endif () +if (DirectX_FXC_EXECUTABLE) + add_subdirectory (d3dcommon) +endif () + +if (DirectX_D3D11_1_FOUND) + add_subdirectory (d3d11_1) +endif () + if (DirectX_D3D11_FOUND) add_subdirectory (d3d11) endif () +if (DirectX_D3D10_1_FOUND) + add_subdirectory (d3d10_1) +endif () + if (DirectX_D3D10_FOUND) add_subdirectory (d3d10) endif ()