Files
poco/NetSSL_OpenSSL/samples/SetSourceIP/CMakeLists.txt
Günter Obiltschnig 1c5ab2adf3 Merge pull request #4865 from pocoproject/fix-openssl-cmake-applink
Fix openssl cmake applink
2025-02-10 08:32:19 +01:00

6 lines
242 B
CMake

add_executable(SetSourceIP src/SetSourceIP.cpp)
target_link_libraries(SetSourceIP PUBLIC Poco::NetSSL Poco::Crypto Poco::Util Poco::Net Poco::XML Poco::Foundation)
if(MSVC)
target_link_libraries(SetSourceIP PRIVATE OpenSSL::applink)
endif()