Merge branch 'doc-cmake-qt-fixes' into release
This commit is contained in:
commit
c555eca9ba
|
@ -29,7 +29,7 @@ Qt 4 and Qt 5 may be used together in the same
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
find_package(Qt5Widgets REQUIRED)
|
find_package(Qt5 COMPONENTS Widgets DBus REQUIRED)
|
||||||
add_executable(publisher publisher.cpp)
|
add_executable(publisher publisher.cpp)
|
||||||
target_link_libraries(publisher Qt5::Widgets Qt5::DBus)
|
target_link_libraries(publisher Qt5::Widgets Qt5::DBus)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue