diff Resources/Orthanc/CMake/Compiler.cmake @ 44:3415f3d73f65

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 12 Jun 2021 09:29:24 +0200
parents 21499c134785
children c71a008fc1e3
line wrap: on
line diff
--- a/Resources/Orthanc/CMake/Compiler.cmake	Wed Feb 24 07:27:30 2021 +0100
+++ b/Resources/Orthanc/CMake/Compiler.cmake	Sat Jun 12 09:29:24 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