From 4fccaa40d74c5a7eda2bd13c2491ab07efca77cb Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 14 Dec 2024 23:33:17 -0600 Subject: [PATCH] link launchpadlib the hacky way --- fetch-indexes-cpp/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fetch-indexes-cpp/CMakeLists.txt b/fetch-indexes-cpp/CMakeLists.txt index f456784..bb4d744 100644 --- a/fetch-indexes-cpp/CMakeLists.txt +++ b/fetch-indexes-cpp/CMakeLists.txt @@ -7,12 +7,11 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) find_package(CURL REQUIRED) find_package(ZLIB REQUIRED) find_package(YAML-CPP REQUIRED) -find_package(launchpadlib-cpp REQUIRED CONFIG) - include_directories(${CURL_INCLUDE_DIRS}) include_directories(${ZLIB_INCLUDE_DIRS}) include_directories(${YAML_CPP_INCLUDE_DIR}) +include_directories(/srv/lubuntu-ci/repos/ci-tools/include/launchpadlib-cpp) add_executable(fetch-indexes main.cpp utilities.cpp) -target_link_libraries(fetch-indexes ${CURL_LIBRARIES} ${ZLIB_LIBRARIES} yaml-cpp launchpad::launchpad) +target_link_libraries(fetch-indexes ${CURL_LIBRARIES} ${ZLIB_LIBRARIES} yaml-cpp /srv/lubuntu-ci/repos/ci-tools/lib/liblaunchpad.so)