diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-08-13 17:27:26 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-08-14 00:49:51 +0000 |
commit | 4388b5608abbde4953cdf2b00f3711614c3db4db (patch) | |
tree | 791e078a696c7ebbc94aa5be0c73d460cbbedb5f | |
parent | e99bbef4053213d680fcd2bfa27b3f085c108612 (diff) |
CMake: More Qt5WinExtras plumbing.
Change-Id: I7474e8373668ba554d3574193fec59daceafe00d
Reviewed-on: https://code.wireshark.org/review/3588
Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | cmakeconfig.h.in | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fa377eedac..2fa57e095c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -713,6 +713,10 @@ if (Qt5Widgets_FOUND) # That's the name autofoo uses set(QT_MACEXTRAS_LIB 1) endif() + if(Qt5WinExtras_FOUND) + set (QT_LIBRARIES ${QT_LIBRARIES} ${Qt5WinExtras_LIBRARIES}) + # set(QT_WINEXTRAS_LIB 1) # Not needed? + endif() # If Qt4: QT_LIBRARIES and QT_INCLUDES are not set above. They require extra magic elseif(QT_FOUND) include(${QT_USE_FILE}) diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index a3784271ca..6c4df84143 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -350,6 +350,9 @@ /* Define if we have QtMacExtras */ #cmakedefine QT_MACEXTRAS_LIB 1 +/* Define if we have QtWinExtras */ +/* #cmakedefine QT_WINEXTRAS_LIB 1 */ + /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ #cmakedefine WORDS_BIGENDIAN 1 |