Demos (master): cmake: Only use pkg-config where available.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Thu Nov 15 16:41:29 UTC 2012
Module: Demos
Branch: master
Commit: 695ec8ed350e3339ba2f205cc20dda46c25641f4
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=695ec8ed350e3339ba2f205cc20dda46c25641f4
Author: José Fonseca <jfonseca at vmware.com>
Date: Thu Nov 15 16:39:08 2012 +0000
cmake: Only use pkg-config where available.
---
CMakeLists.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index af631d5..f9ca83f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ find_path (GLEW_INCLUDE_DIR GL/glew.h
/usr/include/GL
)
-if (NOT WIN32)
+if (PKG_CONFIG_FOUND)
pkg_check_modules (GLEW REQUIRED glew>=1.5.4)
pkg_check_modules (EGL egl)
pkg_check_modules (GLESV1 glesv1_cm)
More information about the mesa-commit
mailing list