ENH: add QT_USE_QTDBUS as it exists for all other modules too
Alex
This commit is contained in:
parent
f53f0565a7
commit
4167622667
|
@ -22,6 +22,7 @@
|
||||||
# QT_USE_QTSVG
|
# QT_USE_QTSVG
|
||||||
# QT_USE_QTTEST
|
# QT_USE_QTTEST
|
||||||
# QT_USE_QTUITOOLS
|
# QT_USE_QTUITOOLS
|
||||||
|
# QT_USE_QTDBUS
|
||||||
#
|
#
|
||||||
# All the libraries required are stored in a variable called QT_LIBRARIES.
|
# All the libraries required are stored in a variable called QT_LIBRARIES.
|
||||||
# Add this variable to your TARGET_LINK_LIBRARIES.
|
# Add this variable to your TARGET_LINK_LIBRARIES.
|
||||||
|
|
|
@ -21,8 +21,7 @@ MACRO(QT_MODULE_SETUP module)
|
||||||
IF (QT_QT${module}_FOUND)
|
IF (QT_QT${module}_FOUND)
|
||||||
ADD_DEFINITIONS(-DQT_${module}_LIB)
|
ADD_DEFINITIONS(-DQT_${module}_LIB)
|
||||||
INCLUDE_DIRECTORIES(${QT_QT${module}_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${QT_QT${module}_INCLUDE_DIR})
|
||||||
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_QT${module}_LIBRARY})
|
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_QT${module}_LIBRARY} ${QT_${module}_LIB_DEPENDENCIES})
|
||||||
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIB_DEPENDENCIES})
|
|
||||||
ELSE (QT_QT${module}_FOUND)
|
ELSE (QT_QT${module}_FOUND)
|
||||||
MESSAGE("Qt ${module} library not found.")
|
MESSAGE("Qt ${module} library not found.")
|
||||||
ENDIF (QT_QT${module}_FOUND)
|
ENDIF (QT_QT${module}_FOUND)
|
||||||
|
@ -84,6 +83,10 @@ IF (QT_USE_QTNETWORK)
|
||||||
QT_MODULE_SETUP(NETWORK)
|
QT_MODULE_SETUP(NETWORK)
|
||||||
ENDIF (QT_USE_QTNETWORK)
|
ENDIF (QT_USE_QTNETWORK)
|
||||||
|
|
||||||
|
IF (QT_USE_QTDBUS)
|
||||||
|
QT_MODULE_SETUP(DBUS)
|
||||||
|
ENDIF (QT_USE_QTDBUS)
|
||||||
|
|
||||||
IF (NOT QT_DONT_USE_QTCORE)
|
IF (NOT QT_DONT_USE_QTCORE)
|
||||||
QT_MODULE_SETUP(CORE)
|
QT_MODULE_SETUP(CORE)
|
||||||
ENDIF (NOT QT_DONT_USE_QTCORE)
|
ENDIF (NOT QT_DONT_USE_QTCORE)
|
||||||
|
|
Loading…
Reference in New Issue