Created
January 9, 2014 14:25
-
-
Save greg-hellings/8334887 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF(Qt5Core_FOUND) | |
TARGET_LINK_LIBRARIES("bibletime" | |
${CLucene_LIBRARY} | |
${Sword_LDFLAGS} | |
) | |
IF(${BIBLETIME_FRONTEND} STREQUAL "MOBILE") | |
qt5_use_modules("bibletime" Widgets Qml Quick Network) | |
ELSE() | |
IF(BT_Use_DBus) | |
qt5_use_modules("bibletime" DBus Widgets WebKit WebKitWidgets Xml Network) | |
ELSE() | |
qt5_use_modules("bibletime" Widgets WebKit WebKitWidgets Xml Network) | |
ENDIF() | |
ENDIF() | |
ELSE() | |
IF(BT_Use_DBus) | |
SET(QT_USE_QTDBUS 1) # Required by INCLUDE(${QT_USE_FILE}) below | |
MESSAGE(STATUS "Using DBUS") | |
ELSE() | |
ADD_DEFINITIONS("-DNO_DBUS") | |
MESSAGE(STATUS "No DBUS found") | |
ENDIF() | |
# If cmake says that qdbusxml2cpp is missing, uncomment the following line | |
#SET(QT_DBUSXML2CPP_EXECUTABLE "/usr/bin/qdbusxml2cpp") #TEMP HACK? | |
INCLUDE(${QT_USE_FILE}) | |
TARGET_LINK_LIBRARIES("bibletime" | |
${QT_LIBRARIES} | |
${CLucene_LIBRARY} | |
${Sword_LDFLAGS} | |
) | |
ENDIF() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment