From 430e5de2838317276f723bfb70d4201b03ff5958 Mon Sep 17 00:00:00 2001 From: Pierre Moreau Date: Thu, 25 Apr 2019 22:46:44 +0200 Subject: [PATCH] Mark the graphics interop toggles as options This allows enabling/disabling them via CMake without editing the CMakeLists.txt file. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 207b8789..35b64b24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,9 +38,9 @@ endif(MSVC90) #----------------------------------------------------------- # Default Configurable Test Set #----------------------------------------------------------- -set(D3D10_IS_SUPPORTED) -set(D3D11_IS_SUPPORTED) -set(GL_IS_SUPPORTED) +option(D3D10_IS_SUPPORTED "Run DirectX 10 interop tests" OFF) +option(D3D11_IS_SUPPORTED "Run DirectX 11 interop tests" OFF) +option(GL_IS_SUPPORTED "Run OpenGL interop tests" OFF) #----------------------------------------------------------- # Vendor Customization