Mercurial > hg > orthanc-webviewer
diff Resources/Orthanc/CMake/Compiler.cmake @ 300:7dc18c36dd3d
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 08:35:27 +0200 |
parents | e376158e2dbb |
children | fb7d62e3235e |
line wrap: on
line diff
--- a/Resources/Orthanc/CMake/Compiler.cmake Wed Apr 28 12:26:44 2021 +0200 +++ b/Resources/Orthanc/CMake/Compiler.cmake Sat Jun 12 08:35:27 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