This has been broken since modules do not currently find
their (public) dependencies.
Change-Id: I0c9e7c46f7a6499993c98aa6d33996bdd3a1be5f
Reviewed-by: Clinton Stimpson <clinton@elemtech.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
project(pass9)
+find_package(Qt5Core REQUIRED)
find_package(Qt5DBus REQUIRED)
include_directories(
+ ${Qt5Core_INCLUDE_DIRS}
${Qt5DBus_INCLUDE_DIRS}
)
-add_definitions(${Qt5DBus_DEFINITIONS})
+add_definitions(${Qt5Core_DEFINITIONS} ${Qt5DBus_DEFINITIONS})
set(CMAKE_INCLUDE_CURRENT_DIR ON)
)
add_executable(myobject ${my_srcs} ${moc_files})
-target_link_libraries(myobject ${Qt5DBus_LIBRARIES})
+target_link_libraries(myobject ${Qt5DBus_LIBRARIES} ${Qt5Core_LIBRARIES})