aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mysql-connector-cpp/lib-name-static.diff
blob: f3fec0aaf30c59255cfe645be11964b5cb34f71c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/install_layout.cmake b/install_layout.cmake
index 4a8a511..ee091da 100644
--- a/install_layout.cmake
+++ b/install_layout.cmake
@@ -219,7 +219,7 @@ set(LIB_NAME_BASE "mysqlcppconnx")
 set(LIB_NAME_STATIC "${LIB_NAME_BASE}-static")
 
 if(WIN32 AND STATIC_MSVCRT)
-  set(LIB_NAME_STATIC "${LIB_NAME}-mt")
+  set(LIB_NAME_STATIC "${LIB_NAME_STATIC}-mt")
 endif()
 
 if(BUILD_STATIC)
diff --git a/jdbc/install_layout.cmake b/jdbc/install_layout.cmake
index e9e15a5..a4f7dc0 100644
--- a/jdbc/install_layout.cmake
+++ b/jdbc/install_layout.cmake
@@ -91,7 +91,7 @@ set(LIB_NAME_BASE "mysqlcppconn")
 set(LIB_NAME_STATIC "${LIB_NAME_BASE}-static")
 
 if(WIN32 AND STATIC_MSVCRT)
-  set(LIB_NAME_STATIC "${LIB_NAME}-mt")
+  set(LIB_NAME_STATIC "${LIB_NAME_STATIC}-mt")
 endif()
 
 if(BUILD_STATIC)