mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 03:10:10 +08:00
update
This commit is contained in:
parent
4aba260eb5
commit
edd1ea90b9
@ -90,6 +90,7 @@ set_target_properties(example PROPERTIES
|
||||
WIN32_EXECUTABLE TRUE
|
||||
)
|
||||
|
||||
|
||||
#链接库
|
||||
target_link_libraries(example PRIVATE
|
||||
Qt6::Quick
|
||||
@ -98,6 +99,13 @@ target_link_libraries(example PRIVATE
|
||||
fluentuiplugin
|
||||
)
|
||||
|
||||
#导入头文件
|
||||
set(QML_PLUGIN_DIRECTORY ${CMAKE_PREFIX_PATH}/qml/FluentUI)
|
||||
target_include_directories(
|
||||
example PRIVATE
|
||||
${QML_PLUGIN_DIRECTORY}
|
||||
)
|
||||
|
||||
#安装
|
||||
install(TARGETS example
|
||||
BUNDLE DESTINATION .
|
||||
|
Loading…
Reference in New Issue
Block a user