File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -486,15 +486,21 @@ function(bundle_dependencies)
486
486
file (GLOB_RECURSE depepdency_path
487
487
"${MYSQL_PLUGIN_DIR} /*${lib_name} *"
488
488
"${MYSQL_LIB_DIR} /*${lib_name} *"
489
- "${MYSQL_LIB_DIR} /private/*${lib_name} *"
490
489
)
491
490
492
491
if (depepdency_path )
493
492
message ("DEPENDENCY_PATH: ${depepdency_path} " )
494
- install (FILES ${depepdency_path}
495
- DESTINATION "${INSTALL_LIB_DIR} /private"
496
- COMPONENT ClientDlls
497
- )
493
+ if (WIN32 )
494
+ install (FILES ${depepdency_path}
495
+ DESTINATION "${INSTALL_LIB_DIR} /plugin"
496
+ COMPONENT ClientDlls
497
+ )
498
+ else ()
499
+ install (FILES ${depepdency_path}
500
+ DESTINATION "${INSTALL_LIB_DIR} /private"
501
+ COMPONENT ClientDlls
502
+ )
503
+ endif ()
498
504
499
505
endif ()
500
506
unset (depepdency_path CACHE )
You can’t perform that action at this time.
0 commit comments