mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 23:31:51 +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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue