X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2FCMakeLists.txt;h=b6225050ba59c6bb9695973492136fe5f506c7ed;hp=f75c9f851f7ffb2b580324338ce3f95a85c52270;hb=1865e971eb6f6ebbf43a0d21bc8486f2476d1e71;hpb=17cb85dd761e0a2d0b085162b4f250ed679cbb33 diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index f75c9f8..b622505 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,6 +32,14 @@ if (EGL_FOUND) add_subdirectory (egl) endif () +if (DirectX_D3D11_FOUND) + add_subdirectory (d3d11) +endif () + +if (DirectX_D3D10_FOUND) + add_subdirectory (d3d10) +endif () + if (DirectX_D3D9_FOUND) add_subdirectory (d3d9) endif () @@ -39,3 +47,7 @@ endif () if (DirectX_D3D8_FOUND) add_subdirectory (d3d8) endif () + +if (DirectX_D3D_FOUND) + add_subdirectory (d3d7) +endif ()