changeset 2341:157584fa9c21

fix
author jodogne
date Mon, 17 Jul 2017 22:52:52 +0200
parents b5a04d983647
children 1abfe0959c27
files Resources/CMake/DcmtkConfiguration.cmake
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DcmtkConfiguration.cmake	Mon Jul 17 22:35:42 2017 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Mon Jul 17 22:52:52 2017 +0200
@@ -106,8 +106,8 @@
     # This step must be after the generation of "osconfig.h"
     INSPECT_FUNDAMENTAL_ARITHMETIC_TYPES()
 
-    link_libraries(-lnetapi32)  # For NetWkstaUserGetInfo@12
-    link_libraries(-liphlpapi)  # For GetAdaptersInfo@8
+    link_libraries(netapi32)  # For NetWkstaUserGetInfo@12
+    link_libraries(iphlpapi)  # For GetAdaptersInfo@8
   endif()
 
   AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/dcmdata/libsrc DCMTK_SOURCES)