27 lines
487 B
CMake
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()
|
|
|