Further linking whack-a-mole

main
Simon Quigley 1 week ago
parent c55d4d0a4a
commit 3e501f3021

@ -21,8 +21,8 @@ include_directories(/srv/lubuntu-ci/repos/ci-tools/include/launchpadlib-cpp)
# Create the shared library liblubuntuci.so # Create the shared library liblubuntuci.so
add_library(lubuntuci SHARED common.cpp utilities.cpp) add_library(lubuntuci SHARED common.cpp utilities.cpp)
target_include_directories(lubuntuci PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories(lubuntuci PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CURL_INCLUDE_DIRS})
target_link_libraries(lubuntuci PRIVATE yaml-cpp CURL::libcurl ${YAML_CPP_LIBRARIES} /srv/lubuntu-ci/repos/ci-tools/lib/liblaunchpad.so) target_link_libraries(lubuntuci PRIVATE CURL::libcurl ${YAML_CPP_LIBRARIES} /srv/lubuntu-ci/repos/ci-tools/lib/liblaunchpad.so)
# Ensure liblubuntuci has proper RPATH # Ensure liblubuntuci has proper RPATH
set_target_properties(lubuntuci PROPERTIES set_target_properties(lubuntuci PROPERTIES

Loading…
Cancel
Save