[Beignet] [PATCH] correct the package dependency from REQUIRED to QUIET
Guo Yejun
yejun.guo at intel.com
Sun Jul 20 17:04:01 PDT 2014
Signed-off-by: Guo Yejun <yejun.guo at intel.com>
---
CMakeLists.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 969c9de..95948a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -102,7 +102,7 @@ ELSE(DRM_INTEL_FOUND)
ENDIF(DRM_INTEL_FOUND)
# OpenGL (not use cmake helper)
-pkg_check_modules(OPENGL REQUIRED gl)
+pkg_check_modules(OPENGL QUIET gl)
IF(OPENGL_FOUND)
INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIRS})
MESSAGE(STATUS "Looking for OpenGL - found at ${OPENGL_PREFIX}")
@@ -115,7 +115,7 @@ ENDIF(OPENGL_FOUND)
Find_Package(Threads)
# Xext
-pkg_check_modules(XEXT REQUIRED xext)
+pkg_check_modules(XEXT QUIET xext)
IF(XEXT_FOUND)
INCLUDE_DIRECTORIES(${XEXT_INCLUDE_DIRS})
MESSAGE(STATUS "Looking for Xext - found at ${XEXT_PREFIX}")
@@ -124,7 +124,7 @@ ELSE(XEXT_FOUND)
ENDIF(XEXT_FOUND)
# Xfixes
-pkg_check_modules(XFIXES REQUIRED xfixes)
+pkg_check_modules(XFIXES QUIET xfixes)
IF(XFIXES_FOUND)
INCLUDE_DIRECTORIES(${XFIXES_INCLUDE_DIRS})
MESSAGE(STATUS "Looking for Xfixes - found at ${XFIXES_PREFIX}")
@@ -132,7 +132,7 @@ ELSE(XFIXES_FOUND)
MESSAGE(STATUS "Looking for Xfixes - not found")
ENDIF(XFIXES_FOUND)
-pkg_check_modules(EGL egl)
+pkg_check_modules(EGL QUIET egl)
IF(EGL_FOUND)
MESSAGE(STATUS "Looking for EGL - found at ${EGL_PREFIX}")
ELSE(EGL_FOUND)
--
1.8.3.2
More information about the Beignet
mailing list