mirror of
https://github.com/g-truc/glm.git
synced 2024-11-25 18:04:34 +00:00
Don't show status message in 'FindGLM' if 'QUIET' option is set.
The 'QUIET' option of 'find_package' sets the 'GLM_FIND_QUIETLY' option. This patch makes FindGLM suppress output when this is the case.
This commit is contained in:
parent
f380d9e6f4
commit
5ac752262a
@ -59,5 +59,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLM DEFAULT_MSG
|
||||
IF(GLM_FOUND)
|
||||
SET(GLM_INCLUDE_DIRS "${GLM_INCLUDE_DIR}")
|
||||
|
||||
MESSAGE(STATUS "GLM_INCLUDE_DIR = ${GLM_INCLUDE_DIR}")
|
||||
IF(NOT GLM_FIND_QUIETLY)
|
||||
MESSAGE(STATUS "GLM_INCLUDE_DIR = ${GLM_INCLUDE_DIR}")
|
||||
ENDIF(NOT GLM_FIND_QUIETLY)
|
||||
ENDIF(GLM_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user