File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,10 @@ endif(jdbc_stand_alone)
89
89
add_config_option (MYSQLCLIENT_STATIC_LINKING BOOL ADVANCED DEFAULT OFF "enable libmysqlclient static linking" )
90
90
add_config_option (MYSQLCLIENT_STATIC_BINDING BOOL ADVANCED DEFAULT ON "enable libmysqlclient static binding" )
91
91
92
-
92
+ if (BUNDLE_DEPENDENCIES AND NOT MYSQLCLIENT_STATIC_LINKING )
93
+ message ("Warning: When dynamic linking with libmysqlclient, BUNDLE_DEPENDENCIES will be turned off." )
94
+ set (BUNDLE_DEPENDENCIES OFF )
95
+ endif ()
93
96
94
97
if (BUILD_STATIC )
95
98
set (BUILD_SHARED_LIBS OFF )
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ IF(MSBUILD)
54
54
SET (MY_TARGET_LINK_LIBRARIES connector-jdbc )
55
55
ELSEIF (NOT MSBUILD )
56
56
SET (MY_TARGET_LINK_LIBRARIES connector-jdbc )
57
- ENDIF (WIN32 )
57
+ ENDIF ()
58
58
59
59
if (NOT MYSQLCLIENT_STATIC_LINKING )
60
60
list (APPEND MY_TARGET_LINK_LIBRARIES MySQL::client )
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ IF(WIN32)
77
77
../common/stringutils.h
78
78
../common/file.h
79
79
)
80
- ENDIF (WIN32 AND NOT CLANG )
80
+ ENDIF (WIN32 )
81
81
82
82
ADD_LIBRARY (test_framework STATIC ${testframework_sources} )
83
83
SET_TARGET_PROPERTIES (test_framework PROPERTIES
You can’t perform that action at this time.
0 commit comments