diff --git a/CMakeLists.txt b/CMakeLists.txt index 119973a..9483e9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,6 +74,9 @@ endif() set(MBEDTLS_DIR "" CACHE PATH "Mbed tls directory") function(TESSESFRAMEWORK_LINKDEPS TessesFramework_TARGET) +if(WIN32) +target_link_libraries(${TessesFramework_TARGET} PUBLIC Iphlpapi) +endif() if(TESSESFRAMEWORK_LOGTOFILE) target_compile_definitions(${TessesFramework_TARGET} PUBLIC TESSESFRAMEWORK_LOGTOFILE) endif()