changeset 1158:f1cadf58b86f

Avoid redundant messages
author Sebastien Decugis <sdecugis@freediameter.net>
date Fri, 31 May 2013 11:19:35 +0800
parents 91b978382496
children 05f74dc19c49
files cmake/Modules/FindMySQL.cmake
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/Modules/FindMySQL.cmake	Thu May 30 15:50:59 2013 +0800
+++ b/cmake/Modules/FindMySQL.cmake	Fri May 31 11:19:35 2013 +0800
@@ -8,10 +8,10 @@
 #  MySQL_LIBRARIES   - List of libraries when using MySQL.
 #  MySQL_FOUND       - True if MySQL found.
 
-IF (MySQL_INCLUDE_DIR AND MySQL_LIBRARIES)
+IF (MySQL_INCLUDE_DIR AND MySQL_LIBRARY)
   # Already in cache, be silent
   SET(MySQL_FIND_QUIETLY TRUE)
-ENDIF (MySQL_INCLUDE_DIR AND MySQL_LIBRARIES)
+ENDIF (MySQL_INCLUDE_DIR AND MySQL_LIBRARY)
 
 # Include dir
 FIND_PATH(MySQL_INCLUDE_DIR 
"Welcome to our mercurial repository"