summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-11-24 15:23:38 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-11-24 16:00:57 -0200
commit69708dfc3bfe03c17948d4c385ef82712f079759 (patch)
treeb19da7c6f71b33ed800e2cfe3d9550e0869632ed /examples
parent4565ee9f5b4b1191d1889c9b628456d43c2f0bab (diff)
Generate libtelepathy-qt4 and libtelepathy-qt5 depending on the version of Qt being used.
Diffstat (limited to 'examples')
-rw-r--r--examples/accounts/CMakeLists.txt2
-rw-r--r--examples/contact-messenger/CMakeLists.txt2
-rw-r--r--examples/extensions/CMakeLists.txt2
-rw-r--r--examples/file-transfer/CMakeLists.txt4
-rw-r--r--examples/protocols/CMakeLists.txt2
-rw-r--r--examples/roster/CMakeLists.txt4
-rw-r--r--examples/stream-tubes/CMakeLists.txt4
7 files changed, 10 insertions, 10 deletions
diff --git a/examples/accounts/CMakeLists.txt b/examples/accounts/CMakeLists.txt
index ee1fcfd9..dd54353b 100644
--- a/examples/accounts/CMakeLists.txt
+++ b/examples/accounts/CMakeLists.txt
@@ -19,4 +19,4 @@ target_link_libraries(accounts
${QT_QTNETWORK_LIBRARY}
${QT_QTWIDGETS_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
diff --git a/examples/contact-messenger/CMakeLists.txt b/examples/contact-messenger/CMakeLists.txt
index f3234785..3db56489 100644
--- a/examples/contact-messenger/CMakeLists.txt
+++ b/examples/contact-messenger/CMakeLists.txt
@@ -12,4 +12,4 @@ target_link_libraries(messenger-sender
${QT_QTDBUS_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
diff --git a/examples/extensions/CMakeLists.txt b/examples/extensions/CMakeLists.txt
index 2f3c3226..bc5771c6 100644
--- a/examples/extensions/CMakeLists.txt
+++ b/examples/extensions/CMakeLists.txt
@@ -73,4 +73,4 @@ add_dependencies(example_extensions example-extensions-connection-generation)
target_link_libraries(example_extensions
${QT_QTDBUS_LIBRARY}
${QT_QTCORE_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
diff --git a/examples/file-transfer/CMakeLists.txt b/examples/file-transfer/CMakeLists.txt
index 4618b7a9..def615c6 100644
--- a/examples/file-transfer/CMakeLists.txt
+++ b/examples/file-transfer/CMakeLists.txt
@@ -18,7 +18,7 @@ target_link_libraries(ft-receiver
${QT_QTDBUS_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
set(ft-sender_SRCS
file-sender.cpp
@@ -38,4 +38,4 @@ target_link_libraries(ft-sender
${QT_QTDBUS_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
diff --git a/examples/protocols/CMakeLists.txt b/examples/protocols/CMakeLists.txt
index 53d7255c..1d7c9a1c 100644
--- a/examples/protocols/CMakeLists.txt
+++ b/examples/protocols/CMakeLists.txt
@@ -17,4 +17,4 @@ target_link_libraries(protocols
${QT_QTNETWORK_LIBRARY}
${QT_QTWIDGETS_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
diff --git a/examples/roster/CMakeLists.txt b/examples/roster/CMakeLists.txt
index 7ebd7c87..598e9c0e 100644
--- a/examples/roster/CMakeLists.txt
+++ b/examples/roster/CMakeLists.txt
@@ -19,7 +19,7 @@ target_link_libraries(roster
${QT_QTNETWORK_LIBRARY}
${QT_QTWIDGETS_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
set(telepathy_qt_examples_roster_SRCS
roster-item.cpp
@@ -35,4 +35,4 @@ target_link_libraries(telepathy-qt-examples-roster
${QT_QTNETWORK_LIBRARY}
${QT_QTWIDGETS_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
diff --git a/examples/stream-tubes/CMakeLists.txt b/examples/stream-tubes/CMakeLists.txt
index ab9dbc00..f9fed1ac 100644
--- a/examples/stream-tubes/CMakeLists.txt
+++ b/examples/stream-tubes/CMakeLists.txt
@@ -12,7 +12,7 @@ target_link_libraries(tubereceiver
${QT_QTDBUS_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})
set(tubeinitiator_SRCS
tube-initiator.cpp)
@@ -28,4 +28,4 @@ target_link_libraries(tubeinitiator
${QT_QTGUI_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${QT_QTXML_LIBRARY}
- telepathy-qt)
+ telepathy-qt${QT_VERSION_MAJOR})