summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-04-22 21:42:52 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-24 01:30:20 +0200
commit4341ae32f43e7e36a92c6e738a29de40d0667cb0 (patch)
tree2bb12e932d989b5ed9d480f2d108028c994eaa0c /tests
parente145b67fbd54f147dab0f8e460280a9c8533aa7b (diff)
Enable OpenGL library detection for mac.
Change-Id: If99d3faf2b08ac5109d619ff69efdaa3857c007f Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index ea218f630f..04e73cc7c9 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -121,12 +121,10 @@ test_module_includes(
)
expect_pass(test_concurrent_module)
expect_pass(test_openglextensions_module)
-if (NOT APPLE)
- if (QT_WITH_ANGLE OR NOT WIN32)
- expect_pass(test_egl_lib)
- endif()
- expect_pass(test_opengl_lib)
+if (QT_WITH_ANGLE OR (NOT WIN32 AND NOT APPLE))
+ expect_pass(test_egl_lib)
endif()
+expect_pass(test_opengl_lib)
if (NOT CMAKE_VERSION VERSION_LESS 2.8.11)
expect_pass(test_interface)