build: plugins/, passwordStorageEngines/wrappers/ as shared libs
This commit is contained in:
parent
a184ecafa3
commit
8e99cc2969
@ -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
|
||||||
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