Commit d3975092 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Rename the generic snap library to DiscoverSnapClient

Hopefully makes Ubuntu happy :)

BUG: 380356
parent 8a7e3bf4
......@@ -2,7 +2,7 @@ add_subdirectory(tests)
add_subdirectory(libsnapclient)
add_library(snap-backend MODULE SnapResource.cpp SnapBackend.cpp SnapReviewsBackend.cpp SnapTransaction.cpp)
target_link_libraries(snap-backend Qt5::Core KF5::CoreAddons KF5::ConfigCore Discover::Common Snap::Client)
target_link_libraries(snap-backend Qt5::Core KF5::CoreAddons KF5::ConfigCore Discover::Common Discover::SnapClient)
install(TARGETS snap-backend DESTINATION ${PLUGIN_INSTALL_DIR}/discover)
install(FILES snap-backend-categories.xml DESTINATION ${DATA_INSTALL_DIR}/libdiscover/categories)
......
add_library(SnapClient SnapSocket.cpp)
target_link_libraries(SnapClient PUBLIC Qt5::Network KF5::Auth)
add_library(Snap::Client ALIAS SnapClient)
install(TARGETS SnapClient DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})
add_library(DiscoverSnapClient SnapSocket.cpp)
target_link_libraries(DiscoverSnapClient PUBLIC Qt5::Network KF5::Auth)
add_library(Discover::SnapClient ALIAS DiscoverSnapClient)
install(TARGETS DiscoverSnapClient DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})
add_executable(libsnap_helper SnapAuthHelper.cpp)
target_link_libraries(libsnap_helper Qt5::Network KF5::Auth)
......
set(EXTRA_LIBS Snap::Client)
set(EXTRA_LIBS Discover::SnapClient)
add_unit_test(snaptest SnapTest.cpp)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment