mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Don't rely on target names for export macros
This commit is contained in:
@@ -24,6 +24,7 @@ tomahawk_add_library(${TOMAHAWK_PLAYDARAPI_LIBRARY_TARGET}
|
|||||||
qtcertificateaddon
|
qtcertificateaddon
|
||||||
${GNUTLS_LIBRARIES}
|
${GNUTLS_LIBRARIES}
|
||||||
EXPORT TomahawkLibraryDepends
|
EXPORT TomahawkLibraryDepends
|
||||||
|
EXPORT_MACRO TOMAHAWK_WIDGETS_EXPORT_PRO
|
||||||
VERSION ${TOMAHAWK_VERSION_SHORT}
|
VERSION ${TOMAHAWK_VERSION_SHORT}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
#include <QtCore/qglobal.h>
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
#ifndef TOMAHAWK_PLAYDARAPI_EXPORT
|
#ifndef TOMAHAWK_PLAYDARAPI_EXPORT
|
||||||
# if defined (tomahawk_playdarapi_EXPORTS)
|
# if defined (TOMAHAWK_WIDGETS_EXPORT_PRO)
|
||||||
# define TOMAHAWK_PLAYDARAPI_EXPORT Q_DECL_EXPORT
|
# define TOMAHAWK_PLAYDARAPI_EXPORT Q_DECL_EXPORT
|
||||||
# else
|
# else
|
||||||
# define TOMAHAWK_PLAYDARAPI_EXPORT Q_DECL_IMPORT
|
# define TOMAHAWK_PLAYDARAPI_EXPORT Q_DECL_IMPORT
|
||||||
|
@@ -13,5 +13,6 @@ tomahawk_add_library(${TOMAHAWK_WIDGETS_LIBRARY_TARGET}
|
|||||||
SOURCES ${${TOMAHAWK_WIDGETS_LIBRARY_TARGET}_SOURCES}
|
SOURCES ${${TOMAHAWK_WIDGETS_LIBRARY_TARGET}_SOURCES}
|
||||||
UI ${${TOMAHAWK_WIDGETS_LIBRARY_TARGET}_UI}
|
UI ${${TOMAHAWK_WIDGETS_LIBRARY_TARGET}_UI}
|
||||||
EXPORT TomahawkLibraryDepends
|
EXPORT TomahawkLibraryDepends
|
||||||
|
EXPORT_MACRO TOMAHAWK_WIDGETS_EXPORT_PRO
|
||||||
VERSION ${TOMAHAWK_VERSION_SHORT}
|
VERSION ${TOMAHAWK_VERSION_SHORT}
|
||||||
)
|
)
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
#include <QtCore/qglobal.h>
|
#include <QtCore/qglobal.h>
|
||||||
|
|
||||||
#ifndef TOMAHAWK_WIDGETS_EXPORT
|
#ifndef TOMAHAWK_WIDGETS_EXPORT
|
||||||
# if defined (tomahawk_widgets_EXPORTS)
|
# if defined (TOMAHAWK_WIDGETS_EXPORT_PRO)
|
||||||
# define TOMAHAWK_WIDGETS_EXPORT Q_DECL_EXPORT
|
# define TOMAHAWK_WIDGETS_EXPORT Q_DECL_EXPORT
|
||||||
# else
|
# else
|
||||||
# define TOMAHAWK_WIDGETS_EXPORT Q_DECL_IMPORT
|
# define TOMAHAWK_WIDGETS_EXPORT Q_DECL_IMPORT
|
||||||
|
Reference in New Issue
Block a user