Refactor CMakeLists #46
@ -1,9 +1,9 @@
|
|||||||
if (WITH_KWALLET)
|
if (WITH_KWALLET)
|
||||||
target_sources(squawk PRIVATE
|
target_sources(squawk PRIVATE
|
||||||
wrappers/kwallet.cpp
|
|
||||||
kwallet.cpp
|
kwallet.cpp
|
||||||
blue marked this conversation as resolved
|
|||||||
kwallet.h
|
kwallet.h
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(squawk PRIVATE KF5::Wallet)
|
add_subdirectory(wrappers)
|
||||||
|
target_include_directories(squawk PRIVATE $<TARGET_PROPERTY:KF5::Wallet,INTERFACE_INCLUDE_DIRECTORIES>)
|
||||||
endif ()
|
endif ()
|
||||||
|
2
core/passwordStorageEngines/wrappers/CMakeLists.txt
Normal file
2
core/passwordStorageEngines/wrappers/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
add_library(kwalletWrapper SHARED kwallet.cpp)
|
||||||
|
target_link_libraries(kwalletWrapper PRIVATE KF5::Wallet)
|
@ -1,4 +1,4 @@
|
|||||||
if (WITH_KIO)
|
if (WITH_KIO)
|
||||||
target_sources(squawk PRIVATE openfilemanagerwindowjob.cpp)
|
add_library(openFileManagerWindowJob SHARED openfilemanagerwindowjob.cpp)
|
||||||
target_link_libraries(squawk PRIVATE KF5::KIOWidgets)
|
target_link_libraries(openFileManagerWindowJob PRIVATE KF5::KIOWidgets)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user
А вот так вот точно нельзя, это должно быть миниатюрной разделяемой библиотекой, я её в рантайме пробую загрузить как плагин