Repository: thrift
Updated Branches:
  refs/heads/master 681e6042d -> 11eac4484


THRIFT-3534 Link error when building with Qt5

Patch: Harald Fernengel


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/11eac448
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/11eac448
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/11eac448

Branch: refs/heads/master
Commit: 11eac4484ebe3b34efdd3b835607ab0db7a3e1a1
Parents: 681e604
Author: Roger Meier <[email protected]>
Authored: Sun Jan 10 16:30:31 2016 +0100
Committer: Roger Meier <[email protected]>
Committed: Sun Jan 10 16:30:31 2016 +0100

----------------------------------------------------------------------
 lib/cpp/src/thrift/qt/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/11eac448/lib/cpp/src/thrift/qt/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/qt/CMakeLists.txt 
b/lib/cpp/src/thrift/qt/CMakeLists.txt
index c657938..04a9a31 100644
--- a/lib/cpp/src/thrift/qt/CMakeLists.txt
+++ b/lib/cpp/src/thrift/qt/CMakeLists.txt
@@ -25,3 +25,4 @@ set(CMAKE_AUTOMOC ON)
 find_package(Qt5 REQUIRED COMPONENTS Core Network)
 ADD_LIBRARY_THRIFT(thriftqt5 ${thriftcppqt5_SOURCES})
 TARGET_LINK_LIBRARIES_THRIFT(thriftqt5 Qt5::Core Qt5::Network)
+TARGET_LINK_LIBRARIES_THRIFT_AGAINST_THRIFT_LIBRARY(thriftqt5 thrift)

Reply via email to