mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-21 08:21:54 +02:00
Define QXT_STATIC in header so that parent projects use it.
This commit is contained in:
parent
c6b82dc30d
commit
8771fd6f0e
@ -15,7 +15,7 @@ ADD_DEFINITIONS( -Wall -O2 -DNDEBUG )
|
||||
IF( NOT WIN32 )
|
||||
ADD_DEFINITIONS( -fPIC )
|
||||
ENDIF()
|
||||
ADD_DEFINITIONS( -DBUILD_QXT_CORE -DBUILD_QXT_WEB -DQXT_STATIC )
|
||||
ADD_DEFINITIONS( -DBUILD_QXT_CORE -DBUILD_QXT_WEB )
|
||||
|
||||
|
||||
INCLUDE_DIRECTORIES( ${qxtweb} ${qxtcore} ${qxtnet} )
|
||||
|
@ -51,6 +51,9 @@
|
||||
|
||||
#define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
|
||||
|
||||
// Define QXT_STATIC here so that the linker of projects that include the static library use the correct call method.
|
||||
#define QXT_STATIC
|
||||
|
||||
#if !defined(QXT_STATIC) && !defined(QXT_DOXYGEN_RUN)
|
||||
# if defined(BUILD_QXT_CORE)
|
||||
# define QXT_CORE_EXPORT Q_DECL_EXPORT
|
||||
|
Loading…
x
Reference in New Issue
Block a user