mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
add a definition for shared QXmpp on win
This commit is contained in:
parent
80da0a1702
commit
9878a93338
1 changed files with 8 additions and 3 deletions
|
@ -175,9 +175,14 @@ if (RTMIDI_FOUND AND NOT DISABLE_RTMIDI AND APPLE)
|
||||||
target_link_libraries(${TARGET_NAME} ${CoreMIDI})
|
target_link_libraries(${TARGET_NAME} ${CoreMIDI})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (QXMPP_FOUND AND NOT DISABLE_QXMPP AND WIN32 AND NOT QXMPP_DLL_PATH)
|
if (QXMPP_FOUND AND NOT DISABLE_QXMPP AND WIN32)
|
||||||
# if we have no QXmpp DLL path, assume we're linking a static QXmpp on windows
|
if (NOT QXMPP_DLL_PATH)
|
||||||
add_definitions(-DQXMPP_STATIC)
|
# if we have no QXmpp DLL path, assume we're linking a static QXmpp on windows
|
||||||
|
add_definitions(-DQXMPP_STATIC)
|
||||||
|
else ()
|
||||||
|
# otherwise assume we are linking a dynamic QXmpp
|
||||||
|
add_definitions(-DQXMPP_SHARED)
|
||||||
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# include headers for interface and InterfaceConfig.
|
# include headers for interface and InterfaceConfig.
|
||||||
|
|
Loading…
Reference in a new issue