This commit is contained in:
zhuzihcu 2023-05-18 15:09:07 +08:00
parent 8668db1587
commit 4aba260eb5

View File

@ -90,22 +90,12 @@ set_target_properties(example PROPERTIES
WIN32_EXECUTABLE TRUE WIN32_EXECUTABLE TRUE
) )
#FluentUI
set(QML_PLUGIN_DIRECTORY ${CMAKE_PREFIX_PATH}/qml/FluentUI)
find_library(FluentUI fluentuiplugin ${QML_PLUGIN_DIRECTORY})
# #
target_link_libraries(example PRIVATE target_link_libraries(example PRIVATE
Qt6::Quick Qt6::Quick
FramelessHelper::Core FramelessHelper::Core
FramelessHelper::Quick FramelessHelper::Quick
fluentuiplugin fluentuiplugin
${FluentUI}
)
target_include_directories(
example PRIVATE
${QML_PLUGIN_DIRECTORY}
) )
# #