aboutsummaryrefslogtreecommitdiff
path: root/src/QMenuModel/CMakeLists.txt
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-09-06 16:43:27 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-09-06 16:43:27 -0300
commit31f8103187d2e27b1bb76eaed10dc9c9be226c90 (patch)
tree5b0d6a0a6bf07aaf213c482c61860a2784cd678f /src/QMenuModel/CMakeLists.txt
parent0dfd3d4cd4214a732e4a5cda59fd4dfc082b8425 (diff)
downloadqmenumodel-31f8103187d2e27b1bb76eaed10dc9c9be226c90.tar.gz
qmenumodel-31f8103187d2e27b1bb76eaed10dc9c9be226c90.tar.bz2
qmenumodel-31f8103187d2e27b1bb76eaed10dc9c9be226c90.zip
Implemented QDBusActionGroup.
Diffstat (limited to 'src/QMenuModel/CMakeLists.txt')
-rw-r--r--src/QMenuModel/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/QMenuModel/CMakeLists.txt b/src/QMenuModel/CMakeLists.txt
index dae9ff4..ee3f28c 100644
--- a/src/QMenuModel/CMakeLists.txt
+++ b/src/QMenuModel/CMakeLists.txt
@@ -1,12 +1,16 @@
set(QMENUMODEL_SRC
qmenumodel.cpp
+ qdbusobject.cpp
qdbusmenumodel.cpp
+ qdbusactiongroup.cpp
plugin.cpp
)
set(QMENUMODEL_HEADERS
qmenumodel.h
+ qdbusobject.h
qdbusmenumodel.h
+ qdbusactiongroup.h
plugin.h
)
@@ -19,8 +23,6 @@ add_library(qmenumodel MODULE
${QMENUMODEL_MOC}
)
-#set_target_properties(dbusmenuqmlcommon PROPERTIES COMPILE_FLAGS -fPIC)
-
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${QT_INCLUDE_DIR}
@@ -41,3 +43,7 @@ target_link_libraries(qmenumodel
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/qmldir"
"${CMAKE_CURRENT_BINARY_DIR}/qmldir")
+
+set(QMENUMODEL_INSTALL_PREFIX "${QT_IMPORTS_DIR}/Ubuntu/QMenuModel/")
+install(TARGETS qmenumodel DESTINATION ${QMENUMODEL_INSTALL_PREFIX})
+install(FILES qmldir DESTINATION ${QMENUMODEL_INSTALL_PREFIX})