Renaming STATIC_LIB -> LIBMOSQUITTO_STATIC
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
This commit is contained in:
parent
3499c094dc
commit
a0a0cc3076
@ -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})
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user