Skip to content

Commit 9b29347

Browse files
committed
cmake: Remove the special connector-jdbc-static target.
It was only used internally to build our binary packages, but we implemented a different mechanism now.
1 parent 8b1a994 commit 9b29347

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

CMakeLists.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,6 @@ set(INFO_PREFIX "jdbc-")
243243
merge_libraries(connector-jdbc jdbc)
244244
target_link_libraries(connector-jdbc PUBLIC Boost::boost)
245245

246-
if(MAINTAINER_MODE)
247-
merge_libraries(connector-jdbc-static STATIC jdbc)
248-
target_link_libraries(connector-jdbc-static PUBLIC Boost::boost)
249-
endif()
250-
251246

252247
#
253248
# Install specifications
@@ -320,19 +315,6 @@ file(COPY ${MYSQLCPPCONN_SPECIFIC_INSTALL_HEADERS}
320315
DESTINATION "${CMAKE_BINARY_DIR}/include/jdbc"
321316
)
322317

323-
if(TARGET connector-jdbc-static)
324-
325-
set_property(TARGET connector-jdbc-static PROPERTY OUTPUT_NAME ${LIB_NAME_STATIC})
326-
327-
install(TARGETS connector-jdbc-static
328-
CONFIGURATIONS Static
329-
ARCHIVE DESTINATION "${INSTALL_LIB_DIR_STATIC}" COMPONENT JDBCDev
330-
RUNTIME DESTINATION "${INSTALL_LIB_DIR}" COMPONENT JDBCDev
331-
LIBRARY DESTINATION "${INSTALL_LIB_DIR}" COMPONENT JDBCDev
332-
)
333-
334-
endif()
335-
336318
# export(TARGETS mysqlcppconn
337319
# APPEND FILE "${PROJECT_BINARY_DIR}/exports.cmake"
338320
# )

0 commit comments

Comments
 (0)