From 48c59962d0f69c694af0a69cc2a146c1ef0bad22 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 17 Dec 2024 11:23:24 -0600 Subject: [PATCH] Link UUID correctly --- cpp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index fdf3bae..545ae2b 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -12,6 +12,7 @@ find_package(yaml-cpp REQUIRED) find_package(PkgConfig REQUIRED) pkg_check_modules(LIBGIT2 REQUIRED IMPORTED_TARGET libgit2) find_package(CURL REQUIRED) +find_library(UUID_LIB uuid) find_package(ZLIB REQUIRED) include_directories(/srv/lubuntu-ci/repos/ci-tools/include/launchpadlib-cpp) @@ -37,7 +38,7 @@ target_link_libraries(fetch-indexes PRIVATE lubuntuci CURL::libcurl yaml-cpp::ya add_executable(lintian-ppa lintian-ppa.cpp) target_include_directories(lintian-ppa PRIVATE /srv/lubuntu-ci/repos/ci-tools/include/launchpadlib-cpp) -target_link_libraries(lintian-ppa PRIVATE lubuntuci /srv/lubuntu-ci/repos/ci-tools/lib/liblaunchpad.so) +target_link_libraries(lintian-ppa PRIVATE lubuntuci ${UUID_LIB} /srv/lubuntu-ci/repos/ci-tools/lib/liblaunchpad.so) set_target_properties(lubuntuci build-packages fetch-indexes update-maintainer lintian-ppa PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE