Merge pull request #317 from camio/find_quietly

Don't show status message in 'FindGLM' if 'QUIET' option is set. #317
This commit is contained in:
Christophe Riccio 2015-03-15 21:48:51 +01:00
commit 7cd4a531ec

View File

@ -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)