JetBrains code analyzer cant see openssl includes

Answered

I use remote development toolchain.It says this:

But cmake successfully finds and links OpenSSL, the project is even assembled without errors.

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")  
# My Cmake code:
find_package(OpenSSL REQUIRED)
target_include_directories(server PRIVATE ${OPENSSL_INCLUDE_DIR})
target_link_libraries(server PRIVATE OpenSSL::Crypto)
0

Please sign in to leave a comment.