diff Resources/Orthanc/CMake/Compiler.cmake @ 69:07fdf388c12e

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 11 Jun 2021 14:37:40 +0200
parents 23f3099bed47
children e2b2e1d4e1bb
line wrap: on
line diff
--- a/Resources/Orthanc/CMake/Compiler.cmake	Fri Jun 11 14:34:08 2021 +0200
+++ b/Resources/Orthanc/CMake/Compiler.cmake	Fri Jun 11 14:37:40 2021 +0200
@@ -188,7 +188,7 @@
   add_definitions(
     -D_CRT_SECURE_NO_WARNINGS=1
     )
-  link_libraries(rpcrt4 ws2_32)
+  link_libraries(rpcrt4 ws2_32 iphlpapi)  # "iphlpapi" is for "SystemToolbox::GetMacAddresses()"
 
   if (CMAKE_COMPILER_IS_GNUCXX)
     # Some additional C/C++ compiler flags for MinGW