diff options
author | David Heidelberg <david.heidelberg@collabora.com> | 2024-03-31 22:15:29 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-04-12 12:05:54 +0000 |
commit | d945707b9f14418e678fd4b205c8542f43b4a884 (patch) | |
tree | f3bf4618ca035a4637edcfc1e595fc371e33b64c | |
parent | 938a9dc9fb82641c2bacd884f96f79d1e3cf9b7d (diff) |
cmake: WGL doesn't need Waffle, pass the definition without it
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/898>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 131cfe83e..771d284c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -206,7 +206,7 @@ if(PIGLIT_USE_X11 AND OPENGL_gl_LIBRARY AND PIGLIT_BUILD_GLX_TESTS) add_definitions(-DPIGLIT_HAS_GLX) endif() -if(PIGLIT_BUILD_WGL_TESTS AND PIGLIT_USE_WAFFLE) +if(PIGLIT_BUILD_WGL_TESTS) set(PIGLIT_HAS_WGL True) add_definitions(-DPIGLIT_HAS_WGL) endif() |