diff options
Diffstat (limited to 'src/QMenuModel/CMakeLists.txt')
-rw-r--r-- | src/QMenuModel/CMakeLists.txt | 10 |
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}) |