mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
fixed windows build
This commit is contained in:
24
thirdparty/qxt/qxtweb-standalone/CMakeLists.txt
vendored
24
thirdparty/qxt/qxtweb-standalone/CMakeLists.txt
vendored
@@ -58,25 +58,11 @@ SET( sources
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# DLL on windows due to linker issues, otherwise static
|
ADD_LIBRARY(qxtweb-standalone STATIC
|
||||||
IF(WIN32)
|
${mocstuff}
|
||||||
ADD_LIBRARY(qxtweb-standalone SHARED
|
${headers}
|
||||||
${mocstuff}
|
${sources}
|
||||||
${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()
|
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries( qxtweb-standalone
|
target_link_libraries( qxtweb-standalone
|
||||||
|
@@ -51,6 +51,8 @@
|
|||||||
|
|
||||||
#define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
|
#define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
|
||||||
|
|
||||||
|
#define QXT_STATIC
|
||||||
|
|
||||||
#if !defined(QXT_STATIC) && !defined(QXT_DOXYGEN_RUN)
|
#if !defined(QXT_STATIC) && !defined(QXT_DOXYGEN_RUN)
|
||||||
# if defined(BUILD_QXT_CORE)
|
# if defined(BUILD_QXT_CORE)
|
||||||
# define QXT_CORE_EXPORT Q_DECL_EXPORT
|
# define QXT_CORE_EXPORT Q_DECL_EXPORT
|
||||||
|
Reference in New Issue
Block a user