link launchpadlib the hacky way

main
Simon Quigley 1 week ago
parent 2bbc763f06
commit 4fccaa40d7

@ -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)

Loading…
Cancel
Save