Files
handleaiuinew/env/qt5/lib/cmake/Qt5SerialBus/Qt5SerialBus_TinyCanBusPlugin.cmake
T
2024-05-18 23:53:26 +08:00

12 lines
545 B
CMake

add_library(Qt5::TinyCanBusPlugin MODULE IMPORTED)
_populate_SerialBus_plugin_properties(TinyCanBusPlugin RELEASE "canbus/qttinycanbus.dll" TRUE)
_populate_SerialBus_plugin_properties(TinyCanBusPlugin DEBUG "canbus/qttinycanbusd.dll" TRUE)
list(APPEND Qt5SerialBus_PLUGINS Qt5::TinyCanBusPlugin)
set_property(TARGET Qt5::SerialBus APPEND PROPERTY QT_ALL_PLUGINS_canbus Qt5::TinyCanBusPlugin)
set_property(TARGET Qt5::TinyCanBusPlugin PROPERTY QT_PLUGIN_TYPE "canbus")
set_property(TARGET Qt5::TinyCanBusPlugin PROPERTY QT_PLUGIN_EXTENDS "")