Skip to content

Commit 413ae70

Browse files
committed
Bug#33284372 MySQL 5.7 (and Cluster 7.4, 7.5, 7.6) build fails on macos with XCode
XCode includes VERSION file from MySQL source code root instead of C++ language header <version>. Using MySQL source code root as include path is only used in storage/perfschema, removing that usage make build succeed. Change-Id: If7d97dca9ebd14068e7eff1c3171812b4075b9ec
1 parent d85e99f commit 413ae70

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

storage/perfschema/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
22
#
33
# This program is free software; you can redistribute it and/or modify
44
# it under the terms of the GNU General Public License, version 2.0,
@@ -20,8 +20,7 @@
2020
# along with this program; if not, write to the Free Software Foundation,
2121
# 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
2222

23-
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}
24-
${CMAKE_SOURCE_DIR}/include
23+
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
2524
${CMAKE_SOURCE_DIR}/sql
2625
${CMAKE_SOURCE_DIR}/regex)
2726

0 commit comments

Comments
 (0)