Merge pull request #29 from LiangLiang723/win32_cmake_fix
🐛 修复 windows 下生成 dll 库带 linux 前缀导致查找不到控件
main
commit
12fa3487bb
|
@ -10,6 +10,10 @@ set(QT_INSTALL_QML ${Qt6Core_DIR}/../../../qml)
|
||||||
set(TARGET_TYPE SHARED)
|
set(TARGET_TYPE SHARED)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/FluentUI)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin/FluentUI)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(TARGET_RESOURCES res.qrc)
|
set(TARGET_RESOURCES res.qrc)
|
||||||
set(TARGET_SOURCES
|
set(TARGET_SOURCES
|
||||||
Def.cpp
|
Def.cpp
|
||||||
|
|
Loading…
Reference in New Issue