mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-12 12:56:44 +01:00
fix: OpenSSL: Need to add openssl/applink.c to Windows executables using OpenSSL #4864
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
add_executable(SetSourceIP src/SetSourceIP.cpp)
|
||||
target_link_libraries(SetSourceIP PUBLIC Poco::NetSSL Poco::Crypto Poco::Util Poco::Net Poco::XML Poco::Foundation)
|
||||
# uncomment following line, might solve compiling issues
|
||||
#set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
if(MSVC)
|
||||
target_link_libraries(SetSourceIP PRIVATE OpenSSL::applink)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user