Add POCO_LIB_SUFFIX to the #pragma link library name

This commit is contained in:
Francis ANDRE 2018-05-07 20:29:41 +02:00
parent 33dcd181e6
commit a5951c7795
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
#if !defined(MySQL_EXPORTS) #if !defined(MySQL_EXPORTS)
#pragma comment(lib, "PocoDataMySQL" POCO_LIB_SUFFIX) #pragma comment(lib, "PocoDataMySQL" POCO_LIB_SUFFIX)
#endif #endif
#pragma comment(lib, "libmysql") #pragma comment(lib, "libmysql" POCO_LIB_SUFFIX)
#endif #endif

View File

@ -54,7 +54,7 @@
#if !defined(PostgreSQL_EXPORTS) #if !defined(PostgreSQL_EXPORTS)
#pragma comment(lib, "PocoDataPostgreSQL" POCO_LIB_SUFFIX) #pragma comment(lib, "PocoDataPostgreSQL" POCO_LIB_SUFFIX)
#endif #endif
#pragma comment(lib, "libpq") #pragma comment(lib, "libpq" POCO_LIB_SUFFIX)
#endif #endif