Demos (master): cmake: Fix copy'n'paste typo in earlier commit.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon Jun 6 14:41:48 UTC 2011
Module: Demos
Branch: master
Commit: ca34c88302fc476b5e90a20b142532ffc58bc1b5
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=ca34c88302fc476b5e90a20b142532ffc58bc1b5
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon Jun 6 15:40:55 2011 +0100
cmake: Fix copy'n'paste typo in earlier commit.
---
CMakeLists.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1bc27f..c9cc2a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,7 @@ endif (UNIX)
# from the standard OpenGL framework which provides support for GLUT and native
# Mac OS X applications.
if (X11_FOUND)
- if (X11_FOUND)
+ if (APPLE)
find_path (X11_GL_INCLUDE_PATH GL/glx.h ${X11_INC_SEARCH_PATH})
if (NOT X11_GL_INCLUDE_PATH)
message (WARNING "Could not find GL/glx.h")
More information about the mesa-commit
mailing list