File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1- # Copyright (c) 2008, 2015 , Oracle and/or its affiliates. All rights reserved.
1+ # Copyright (c) 2008, 2018 , 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
@@ -172,7 +172,6 @@ INCLUDE_DIRECTORIES(
172172 ${CMAKE_CURRENT_BINARY_DIR} /include
173173
174174 # Util library includes
175- ${ZLIB_INCLUDE_DIR}
176175 ${READLINE_INCLUDE_DIR} )
177176
178177# The root of storage/ndb/
Original file line number Diff line number Diff line change 11
2- # Copyright (c) 2010, 2014 , Oracle and/or its affiliates. All rights reserved.
2+ # Copyright (c) 2010, 2018 , Oracle and/or its affiliates. All rights reserved.
33#
44# This program is free software; you can redistribute it and/or modify
55# it under the terms of the GNU General Public License as published by
@@ -204,10 +204,9 @@ IF(NOT DEFINED WITH_ZLIB)
204204 # Hardcode use of the bundled zlib if not set by MySQL
205205 MESSAGE (STATUS "Using bundled zlib (hardcoded)" )
206206 SET (ZLIB_LIBRARY zlib)
207- SET (ZLIB_INCLUDE_DIR ${CMAKE_SOURCE_DIR} /zlib)
207+ INCLUDE_DIRECTORIES ( SYSTEM ${CMAKE_SOURCE_DIR} /zlib)
208208ENDIF ()
209209NDB_REQUIRE_VARIABLE(ZLIB_LIBRARY)
210- NDB_REQUIRE_VARIABLE(ZLIB_INCLUDE_DIR)
211210
212211IF (WITH_CLASSPATH)
213212 MESSAGE (STATUS "Using supplied classpath: ${WITH_CLASSPATH} " )
Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2+ Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
33
44 This program is free software; you can redistribute it and/or modify
55 it under the terms of the GNU General Public License as published by
4545 * This is a casual hack to do static memory allocation
4646 * (needed by NDB)
4747 */
48- #include "../../../../zlib/zutil.h"
49- #include "../../../../zlib/zconf.h"
50- #include "../../../../zlib/inftrees.h"
51- #include "../../../../zlib/inflate.h"
52- #include "../../../../zlib/deflate.h"
48+ #include <zutil.h>
49+ #include <zlib.h>
50+ #include <inftrees.h>
51+ #include <inflate.h>
52+ #include <deflate.h>
53+
5354
5455#include <util/ndbzio.h>
5556
You can’t perform that action at this time.
0 commit comments