summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMagne Mahre <magne.mahre@oracle.com>2011-04-14 10:08:12 +0200
committerMagne Mahre <magne.mahre@oracle.com>2011-04-14 10:08:12 +0200
commitb71c5d51c6d91283fc3d656b70991319dfcc51f7 (patch)
tree28b6ef23c47ef3c2bd8e443c07eeba55f8a894e5 /cmake
parentecd6899338ddc2e208ed4097b6f7e44e99c4ea1b (diff)
downloadmariadb-git-b71c5d51c6d91283fc3d656b70991319dfcc51f7.tar.gz
Bug#11766320 MYSQL SYMBOLIC LINKS NOT WORKING
When MySQL converted from autotools to CMake, the preprocessor symbol USE_SYMDIR was omitted by mistake. Without this symbol, the code for checking .sym files is not built. This patch defines USE_SYMDIR when built on MS Windows.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/os/Windows.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/os/Windows.cmake b/cmake/os/Windows.cmake
index 0dbfde5294c..b51f3a2dc52 100644
--- a/cmake/os/Windows.cmake
+++ b/cmake/os/Windows.cmake
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 Sun Microsystems, Inc
+# Copyright (C) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -192,3 +192,4 @@ IF(NOT HAVE_SIZE_OF_SSIZE_T)
ENDIF()
SET(FN_NO_CASE_SENSE 1)
+SET(USE_SYMDIR 1)