Skip to content

Commit 69f8305

Browse files
Tor DidriksenHery Ramilison
authored andcommitted
Bug#22834591: unused-local-typedef warnings from boost 1.59
Build broken when all -DWITH_XXX=system cmake .. -DWITH_EDITLINE=system -DWITH_LIBEVENT=system -DWITH_LZ4=system -DWITH_MECAB=system -DWITH_SSL=system -DWITH_ZLIB=system CMake Error at plugin/keyring/CMakeLists.txt:53 (ADD_COMPILE_FLAGS): Unknown CMake command "ADD_COMPILE_FLAGS". Fix: INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake) (cherry picked from commit 70b6d76899732daf96da1f02777e4049dc2a6bca)
1 parent a873679 commit 69f8305

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/keyring/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2016, 2017, 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 as published by
@@ -13,6 +13,8 @@
1313
# along with this program; if not, write to the Free Software
1414
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1515

16+
INCLUDE(${MYSQL_CMAKE_SCRIPT_DIR}/compile_flags.cmake)
17+
1618
INCLUDE_DIRECTORIES(${BOOST_PATCHES_DIR} ${BOOST_INCLUDE_DIR})
1719
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/common)
1820

0 commit comments

Comments
 (0)