fix CppUnit lib name

This commit is contained in:
Günter Obiltschnig
2020-01-12 21:13:18 +01:00
parent ca85c2e084
commit ed21f39b03
2 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ add_library(Poco::CppUnit ALIAS CppUnit)
set_target_properties(CppUnit set_target_properties(CppUnit
PROPERTIES PROPERTIES
VERSION "1" SOVERSION "1" VERSION "1" SOVERSION "1"
OUTPUT_NAME PocoCppUnit OUTPUT_NAME CppUnit
DEFINE_SYMBOL CppUnit_EXPORTS DEFINE_SYMBOL CppUnit_EXPORTS
) )
target_link_libraries(CppUnit PUBLIC Poco::Foundation) target_link_libraries(CppUnit PUBLIC Poco::Foundation)

View File

@@ -69,7 +69,7 @@
#if defined(_MSC_VER) && !defined(POCO_NO_AUTOMATIC_LIBS) #if defined(_MSC_VER) && !defined(POCO_NO_AUTOMATIC_LIBS)
#if !defined(CppUnit_EXPORTS) #if !defined(CppUnit_EXPORTS)
#pragma comment(lib, "PocoCppUnit" POCO_LIB_SUFFIX) #pragma comment(lib, "CppUnit" POCO_LIB_SUFFIX)
#endif #endif
#endif #endif
@@ -80,8 +80,8 @@
#pragma warning(disable:4503) // decorated name length exceeded - mainly a problem with STLPort #pragma warning(disable:4503) // decorated name length exceeded - mainly a problem with STLPort
#pragma warning(disable:4018) // signed/unsigned comparison #pragma warning(disable:4018) // signed/unsigned comparison
#pragma warning(disable:4284) // return type for operator -> is not UDT #pragma warning(disable:4284) // return type for operator -> is not UDT
#pragma warning(disable:4251) // ... needs to have dll-interface warning #pragma warning(disable:4251) // ... needs to have dll-interface warning
#pragma warning(disable:4273) #pragma warning(disable:4273)
#pragma warning(disable:4275) // ... non dll-interface class used as base for dll-interface class #pragma warning(disable:4275) // ... non dll-interface class used as base for dll-interface class
#endif #endif