Kylin/Examples/FluentWindow/CMakeLists.txt
2024-10-29 13:51:37 +00:00

27 lines
487 B
CMake

find_package(Qt6 6.5 REQUIRED COMPONENTS Quick)
qt_standard_project_setup(REQUIRES 6.5)
add_executable(FluentWindow main.cpp)
qt_add_qml_module(FluentWindow
URI FluentWindow
VERSION 1.0
QML_FILES
qml/Main.qml
)
target_link_libraries(FluentWindow
PRIVATE Qt6::Quick
PRIVATE Universal
PRIVATE Fluent
PRIVATE Fluentplugin
)
if(UNIX)
set_target_properties(FluentWindow PROPERTIES
SUFFIX .AppImage
)
endif()