1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +02:00

fixed windows build

This commit is contained in:
Patrick von Reth
2013-01-11 10:27:59 +01:00
parent a70ece1523
commit b16d418102
2 changed files with 7 additions and 19 deletions

View File

@@ -58,25 +58,11 @@ SET( sources
)
# DLL on windows due to linker issues, otherwise static
IF(WIN32)
ADD_LIBRARY(qxtweb-standalone SHARED
${mocstuff}
${headers}
${sources}
)
INSTALL( TARGETS qxtweb-standalone
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
ELSE()
ADD_LIBRARY(qxtweb-standalone STATIC
${mocstuff}
${headers}
${sources}
)
ENDIF()
ADD_LIBRARY(qxtweb-standalone STATIC
${mocstuff}
${headers}
${sources}
)
target_link_libraries( qxtweb-standalone

View File

@@ -51,6 +51,8 @@
#define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
#define QXT_STATIC
#if !defined(QXT_STATIC) && !defined(QXT_DOXYGEN_RUN)
# if defined(BUILD_QXT_CORE)
# define QXT_CORE_EXPORT Q_DECL_EXPORT