Renaming STATIC_LIB -> LIBMOSQUITTO_STATIC

Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
This commit is contained in:
Ian Johnson 2016-04-21 09:51:46 -05:00
parent 3499c094dc
commit a0a0cc3076
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ set_target_properties(libmosquitto_static PROPERTIES
VERSION ${VERSION}
)
target_compile_definitions(libmosquitto_static PUBLIC "STATIC_LIB")
target_compile_definitions(libmosquitto_static PUBLIC "LIBMOSQUITTO_STATIC")
install(TARGETS libmosquitto libmosquitto_static RUNTIME DESTINATION ${BINDIR} LIBRARY DESTINATION ${LIBDIR} ARCHIVE DESTINATION ${LIBDIR})
install(FILES mosquitto.h DESTINATION ${INCLUDEDIR})

View File

@ -21,7 +21,7 @@ Contributors:
extern "C" {
#endif
#if defined(WIN32) && !defined(WITH_BROKER) && !defined(STATIC_LIB)
#if defined(WIN32) && !defined(WITH_BROKER) && !defined(LIBMOSQUITTO_STATIC)
# ifdef libmosquitto_EXPORTS
# define libmosq_EXPORT __declspec(dllexport)
# else