X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2FCMakeLists.txt;h=6412f68fca0ee8d942d3b70fb4ea78ff4976a9f0;hp=062e4c20f81339166df092424da62d9f75940578;hb=398f7b9536d5a7fbc4236088d59407d79830d428;hpb=1e49c97f30915ee057d2616ce50e437a19e2f16c diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 062e4c2..6412f68 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,18 @@ if (EGL_FOUND) add_subdirectory (egl) endif () +if (DirectX_FXC_EXECUTABLE) + add_subdirectory (hlsl) +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 ()