From 389074d1e995c2afc7e5f9b22e915ec98b4d7fa0 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Sat, 7 Jul 2012 23:17:22 +0200 Subject: [PATCH] Fail at configure time when openGL is not found --- indra/plugins/base_media/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/plugins/base_media/CMakeLists.txt b/indra/plugins/base_media/CMakeLists.txt index 249a95bfc..f7917a794 100644 --- a/indra/plugins/base_media/CMakeLists.txt +++ b/indra/plugins/base_media/CMakeLists.txt @@ -2,6 +2,9 @@ project(media_plugin_base) +# Fail at configure, not link time. +set(OpenGL_FIND_REQUIRED ON) + include(00-Common) include(LLCommon) include(LLImage)