summaryrefslogtreecommitdiff
path: root/cmake/Modules/FindQt5DBus.cmake
blob: d850010e974851f3f4974806ce875fb7de9f9196 (plain)
1
2
3
4
5
6
7
8
9
10
execute_process(
  COMMAND ${CMAKE_SOURCE_DIR}/FindQt.sh -v ${qt_version} Qt5DBusConfig.cmake
  OUTPUT_VARIABLE config_file
)

if(config_file STREQUAL "")
  message(FATAL_ERROR "Qt5 DBus module not found")
endif(config_file STREQUAL "")

include(${config_file})