2012-03-14 13:09:27 +00:00
|
|
|
|
2012-07-22 19:40:22 +00:00
|
|
|
if (NOT TARGET Qt5::qdbuscpp2xml)
|
|
|
|
add_executable(Qt5::qdbuscpp2xml IMPORTED)
|
|
|
|
|
2012-03-14 13:09:27 +00:00
|
|
|
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
2013-05-14 12:33:15 +00:00
|
|
|
set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
|
2012-03-14 13:09:27 +00:00
|
|
|
!!ELSE
|
2013-05-14 12:33:15 +00:00
|
|
|
set(imported_location \"$${CMAKE_BIN_DIR}qdbuscpp2xml$$CMAKE_BIN_SUFFIX\")
|
2012-03-14 13:09:27 +00:00
|
|
|
!!ENDIF
|
2013-05-14 12:33:15 +00:00
|
|
|
_qt5_DBus_check_file_exists(${imported_location})
|
|
|
|
|
|
|
|
set_target_properties(Qt5::qdbuscpp2xml PROPERTIES
|
|
|
|
IMPORTED_LOCATION ${imported_location}
|
2012-07-22 19:40:22 +00:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (NOT TARGET Qt5::qdbusxml2cpp)
|
|
|
|
add_executable(Qt5::qdbusxml2cpp IMPORTED)
|
|
|
|
|
|
|
|
!!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
|
2013-05-14 12:33:15 +00:00
|
|
|
set(imported_location \"${_qt5DBus_install_prefix}/$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
|
2012-07-22 19:40:22 +00:00
|
|
|
!!ELSE
|
2013-05-14 12:33:15 +00:00
|
|
|
set(imported_location \"$${CMAKE_BIN_DIR}qdbusxml2cpp$$CMAKE_BIN_SUFFIX\")
|
2012-07-22 19:40:22 +00:00
|
|
|
!!ENDIF
|
2013-05-14 12:33:15 +00:00
|
|
|
_qt5_DBus_check_file_exists(${imported_location})
|
|
|
|
|
|
|
|
set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
|
|
|
|
IMPORTED_LOCATION ${imported_location}
|
2012-07-22 19:40:22 +00:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(Qt5DBus_QDBUSCPP2XML_EXECUTABLE Qt5::qdbuscpp2xml)
|
|
|
|
set(Qt5DBus_QDBUSXML2CPP_EXECUTABLE Qt5::qdbusxml2cpp)
|