mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
进度更新
This commit is contained in:
14
plugin/dtkplugin/CMakeLists.txt
Normal file
14
plugin/dtkplugin/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
set(PLUGIN_SOURCE
|
||||
spkdtkplugin.h
|
||||
spkdtkplugin_impl.h
|
||||
spkdtkplugin.cpp)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(dtkwidget REQUIRED IMPORTED_TARGET dtkwidget)
|
||||
pkg_check_modules(dtkgui REQUIRED IMPORTED_TARGET dtkgui)
|
||||
pkg_check_modules(dtkcore REQUIRED IMPORTED_TARGET dtkcore)
|
||||
add_library(spkdtkplugin SHARED ${PLUGIN_SOURCE})
|
||||
|
||||
target_link_libraries(spkdtkplugin PkgConfig::dtkwidget PkgConfig::dtkgui PkgConfig::dtkcore ${REQUIRED_LIBS_QUALIFIED})
|
||||
|
||||
install(TARGETS spkdtkplugin LIBRARY DESTINATION lib)
|
||||
Reference in New Issue
Block a user