Skip to content

Commit 940a4c7

Browse files
committed
cmake: Fix public headers check (do not include jdbc.h in it)
1 parent 5280fc3 commit 940a4c7

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

include/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ endif()
4747

4848
setup_headers(${CMAKE_CURRENT_SOURCE_DIR})
4949

50-
add_headers_dir(mysql)
50+
# TODO: enable when JDBC public headers are ready for it
51+
# add_headers_dir(mysql)
5152
add_headers_dir(mysqlx)
5253

5354
#

include/mysql/CMakeLists.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,10 @@
2626
# along with this program; if not, write to the Free Software Foundation, Inc.,
2727
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2828

29-
30-
#
31-
# MySQL Connector/C++ Public Headers
32-
#
33-
# see headers.cmake for explanations how project's public
34-
# headers are declared and processed.
35-
#
36-
37-
include(headers)
38-
3929
SET(headers jdbc.h)
4030

4131
# TODO: Make it work one beautiful day...
32+
# One issue is that jdbc.h depends on boost headers
4233
#check_headers(${headers})
4334
#ADD_HEADERS(${headers})
4435
#ADD_HEADER_CHECKS()

0 commit comments

Comments
 (0)