JetBrains code analyzer cant see openssl includes


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/ (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)

Please sign in to leave a comment.