summaryrefslogtreecommitdiff
path: root/extra/libqzeitgeist/set-declarative-installation-dir.patch
blob: 961c7900d7fb037992c079f6ba0faa8ffcbeaa91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- libqzeitgeist-0.8.0/declarative/CMakeLists.txt~	2012-01-28 10:55:56.178972521 +0000
+++ libqzeitgeist-0.8.0/declarative/CMakeLists.txt	2012-01-28 10:57:29.601561527 +0000
@@ -14,7 +14,9 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../src/)
 automoc4_add_library(QZeitgeistDeclarativePlugin MODULE ${declarative_SRCS})
 
-target_link_libraries(QZeitgeistDeclarativePlugin ${QT_LIBRARIES} qzeitgeist)
+target_link_libraries(QZeitgeistDeclarativePlugin ${QT_QTDECLARATIVE_LIBRARIES} qzeitgeist)
 
-install(TARGETS QZeitgeistDeclarativePlugin DESTINATION lib${LIB_SUFFIX}/qt4/imports/org/gnome/zeitgeist)
+set(DECLARATIVE_IMPORT_PREFIX ${QT_IMPORTS_DIR} CACHE PATH "Location to install declarative bindings")
+
+install(TARGETS QZeitgeistDeclarativePlugin DESTINATION ${DECLARATIVE_IMPORT_PREFIX}/org/gnome/zeitgeist)
 install(FILES qmldir DESTINATION ${QT_IMPORTS_DIR}/org/gnome/zeitgeist)