Qt5DBusConfigExtras.cmake 775 B

12345678910111213141516171819202122232425
  1. if (NOT TARGET Qt5::qdbuscpp2xml)
  2. add_executable(Qt5::qdbuscpp2xml IMPORTED)
  3. set(imported_location "${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbuscpp2xml")
  4. _qt5_DBus_check_file_exists(${imported_location})
  5. set_target_properties(Qt5::qdbuscpp2xml PROPERTIES
  6. IMPORTED_LOCATION ${imported_location}
  7. )
  8. endif()
  9. if (NOT TARGET Qt5::qdbusxml2cpp)
  10. add_executable(Qt5::qdbusxml2cpp IMPORTED)
  11. set(imported_location "${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}/qdbusxml2cpp")
  12. _qt5_DBus_check_file_exists(${imported_location})
  13. set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
  14. IMPORTED_LOCATION ${imported_location}
  15. )
  16. endif()
  17. set(Qt5DBus_QDBUSCPP2XML_EXECUTABLE Qt5::qdbuscpp2xml)
  18. set(Qt5DBus_QDBUSXML2CPP_EXECUTABLE Qt5::qdbusxml2cpp)