diff options
author | David Heidelberg <david.heidelberg@collabora.com> | 2024-03-31 23:06:29 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-04-12 12:05:54 +0000 |
commit | a482803acb4dc4b652fdac890e4ebdd7297b3a9e (patch) | |
tree | 2069fdd3a4dd10822053ec0699b0dff3688e8fc4 | |
parent | 67b89b3e3f5eae478145e5b062ab521334971442 (diff) |
cmake: if we specify PIGLIT_BUILD_GL_TESTS OPENGL_FOUND is always true
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 2130c8206..107456bba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -377,7 +377,7 @@ if (APPLE) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations") endif () -if (OPENGL_FOUND) +if (PIGLIT_BUILD_GL_TESTS) if (APPLE) find_path(GLEXT_INCLUDE_DIR NAMES OpenGL/glext.h |