summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-10-04 21:25:53 +0200
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-10-04 21:25:53 +0200
commita1fe23668fd2dd0c2dd9b8b14df88e216bfc4e0b (patch)
treed8098346f2eee2102f07c4c8cad7c340359968f3 /scripts
parent57bb4dee2e8c88688350d2ba1674edf984928191 (diff)
downloadmariadb-git-a1fe23668fd2dd0c2dd9b8b14df88e216bfc4e0b.tar.gz
Fix compile error on Windows after WL#1054 push.
The error was introduced by typo in variable name (errormsg instead of correct errmsg) - Also, precache HAVE_PEERCRED to OFF in cmake\os\WindowsCache.cmake (to avoid useless system check). - Also, add missing check for errors from FormatMessage(). - Also, remove annoying CMake debug printout of MALLOC_LIB if this is not set.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 9b4b598a682..0a8d4f9658d 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -84,8 +84,6 @@ INSTALL(FILES
IF(MALLOC_LIB)
MESSAGE("Using tcmalloc '${MALLOC_LIB}'")
INSTALL(FILES ${MALLOC_LIB} DESTINATION ${INSTALL_LIBDIR} OPTIONAL)
-ELSE()
- MESSAGE("No 'MALLOC_LIB' variable")
ENDIF()
IF(CMAKE_GENERATOR MATCHES "Makefiles")