fix: OpenSSL: Need to add openssl/applink.c to Windows executables using OpenSSL #4864

This commit is contained in:
Günter Obiltschnig
2025-02-08 10:29:31 +01:00
parent ca969f9ec3
commit 605baa13d2
11 changed files with 35 additions and 11 deletions

View File

@@ -1,2 +1,5 @@
add_executable(HTTPSTimeServer src/HTTPSTimeServer.cpp)
target_link_libraries(HTTPSTimeServer PUBLIC Poco::NetSSL Poco::Util Poco::XML)
if(MSVC)
target_link_libraries(HTTPSTimeServer PRIVATE OpenSSL::applink)
endif()