diff Resources/Orthanc/CMake/Compiler.cmake @ 47:28d7d7598fdb

sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 12 Jun 2021 09:25:13 +0200
parents 914b8113fd46
children 1a13c4fbc9a1
line wrap: on
line diff
--- a/Resources/Orthanc/CMake/Compiler.cmake	Wed Jan 06 18:01:12 2021 +0100
+++ b/Resources/Orthanc/CMake/Compiler.cmake	Sat Jun 12 09:25:13 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