From e0091e7cf651b1376a66586e6d12528b77fa78ff 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 6b8ee156..c5bde376 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,9 +40,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) #-----------------------------------------------------------