Closed jtojnar closed 7 months ago
CI failure looks unrelated.
Re-runned the CI as the previous was a temporary error, but seems is failing to link the library
Hmm, looks like add_dependencies
is not sufficient to link it. I have returned the target_link_libraries
for the case we are not using system libcaesium.
find_library
now needs eithercaesium
orlibcaesium.so
to be able to find it.Also link the result with
target_link_libraries
sincefind_library
does not register dependencies.https://cmake.org/cmake/help/latest/command/find_library.html https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_LIBRARY_PREFIXES.html
This is a follow up to 63761ac6ec778cca13b8887b6058d75dbf5644b3