-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
- windows 11
- cmake 2.25
- vcpkg 2022-11-10-5fdee72bc1fceca198fb1ab7589837206a8b81ba
I've used vcpkg to install poco[core,netssl].
cmakelists.txt
cmake_minimum_required(VERSION 3.5)
project(<project-name>)
find_package(Poco REQUIRED COMPONENTS Foundation Net Util)
add_executable(${PROJECT_NAME} <srcs>)
target_include_directories(${PROJECT_NAME}
PRIVATE
${Poco_INCLUDE_DIR}
)
target_link_libraries(${PROJECT_NAME}
PRIVATE
${Poco_LIBRARIES}
)When I use HTTPSClientSession, cmake build failed:
LINK : fatal error LNK1104: cannot open file 'PocoNetSSLWind.lib'I check the link command and I find there's no netsslwind.lib linked. BTW the netsslwind.lib file exists. So I want to know how to use HTTPSClientSession?
Reactions are currently unavailable