Details
Description
/usr/bin/x86_64-linux-gnu-ld: warning: libssl.so.1.1, needed by /CURL/curl-7_63_0/lib/libcurl.so, not found (try using -rpath or -rpath-link) /usr/bin/x86_64-linux-gnu-ld: warning: libcrypto.so.1.1, needed by /CURL/curl-7_63_0/lib/libcurl.so, not found (try using -rpath or -rpath-link) /CURL/curl-7_63_0/lib/libcurl.so: undefined reference to `OpenSSL_version_num@OPENSSL_1_1_0'
The problem with src/CMakeLists.txt:1088
list(APPEND libxerces_c_DEPS ${CURL_LIBRARIES})
${CURL_LIBRARIES} does not include dependencies
To fix, should be replaced by CURL::libcurl
list(APPEND libxerces_c_DEPS CURL::libcurl)
Note:
To find CURL should be used CURLConfig.cmake from /CURL/curl-7_63_0/lib/cmake/CURL
Standard CMake/[Modules|https://github.com/Kitware/CMake/tree/master/Modules]/FindCURL.cmake does not include dependencies into target CURL::libcurl