diff Resources/Orthanc/CMake/Compiler.cmake @ 35:81262707d68e

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 12 Jun 2021 09:35:17 +0200
parents 3bd0ec7c5a7c
children 1256194e1c08
line wrap: on
line diff
--- a/Resources/Orthanc/CMake/Compiler.cmake	Mon Jan 18 15:41:32 2021 +0100
+++ b/Resources/Orthanc/CMake/Compiler.cmake	Sat Jun 12 09:35:17 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