Skip to content

Commit 6acf35b

Browse files
committed
cmake: Make sure that jdbc.h is installed by INSTALL target.
1 parent 4412d73 commit 6acf35b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

include/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@ endif()
4747

4848
setup_headers(${CMAKE_CURRENT_SOURCE_DIR})
4949

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

52+
if(WITH_JDBC)
53+
# TODO: enable when JDBC public headers are ready for it
54+
# add_headers_dir(mysql)
55+
add_subdirectory(mysql)
56+
endif()
57+
5458
#
5559
# Target to test public headers, if WITH_HEADERS_CHECKS build option is set.
5660
#

0 commit comments

Comments
 (0)