diff Resources/CMake/DcmtkConfiguration.cmake @ 2341:157584fa9c21

fix
author jodogne
date Mon, 17 Jul 2017 22:52:52 +0200
parents b5a04d983647
children 8a5c8af669cb
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)