telepathy-qt: FindQt5.cmake: look in the correct pkg-config file for QT_CONFIG_FLAGS

Alexandr Akulich kaffeine at kemper.freedesktop.org
Sat Aug 27 06:41:33 UTC 2016


Module: telepathy-qt
Branch: master
Commit: 8de45eb7c30677eb34b8054a5b06e4f1899f3937
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=8de45eb7c30677eb34b8054a5b06e4f1899f3937

Author: George Kiagiadakis <gkiagia at tolabaki.gr>
Date:   Tue Jun 21 15:17:10 2016 +0300

FindQt5.cmake: look in the correct pkg-config file for QT_CONFIG_FLAGS

Reviewed-by: Alexandr Akulich <akulichalexander at gmail.com>

---

 cmake/modules/FindQt5.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/FindQt5.cmake b/cmake/modules/FindQt5.cmake
index 957f7b3..c4db9c5 100644
--- a/cmake/modules/FindQt5.cmake
+++ b/cmake/modules/FindQt5.cmake
@@ -122,7 +122,7 @@ MARK_AS_ADVANCED(QT_INCLUDES QT_INCLUDE_DIR
                  QT_QMAKE_EXECUTABLE_FINDQT QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE)
 
 # Invokes pkgconfig, cleans up the result and sets variables
-EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable qt_config QtCore
+EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable qt_config Qt5Core
     OUTPUT_VARIABLE _pkgconfig_flags
     RESULT_VARIABLE _pkgconfig_failed)
 STRING(REPLACE " " ";" QT_CONFIG_FLAGS "${_pkgconfig_flags}")



More information about the telepathy-commits mailing list