Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
run moc for the dbus header
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>
  • Loading branch information
Denis Zalevskiy committed Oct 15, 2014
1 parent c00907f commit 7e1f549
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -54,6 +54,8 @@ link_directories(
${COR_LIBRARY_DIRS}
)

set(QTAROUND_DBUS_HEADERS ${CMAKE_SOURCE_DIR}/include/qtaround/dbus.hpp)

add_subdirectory(src)
add_subdirectory(tests)

Expand Down
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -11,8 +11,11 @@ set_target_properties(qtaround PROPERTIES
)
install(TARGETS qtaround DESTINATION ${DST_LIB})

qt5_wrap_cpp(QTAROUND_DBUS_SRC ${QTAROUND_DBUS_HEADERS})

add_library(qtaround-dbus SHARED
dbus.cpp
${QTAROUND_DBUS_SRC}
)
qt5_use_modules(qtaround-dbus Core DBus)
target_link_libraries(qtaround ${COR_LIBRARIES})
Expand Down

0 comments on commit 7e1f549

Please sign in to comment.