[Beignet] [PATCH] correct the package dependency from REQUIRED to QUIET
Yang, Rong R
rong.r.yang at intel.com
Thu Aug 28 20:22:45 PDT 2014
Do not REQUIRED when X11_NOTFOUND, and still REQUIRED when X11_FOUND.
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Guo Yejun
> Sent: Monday, July 21, 2014 8:04 AM
> To: beignet at lists.freedesktop.org
> Cc: Guo, Yejun
> Subject: [Beignet] [PATCH] correct the package dependency from REQUIRED to
> QUIET
>
> 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
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list