Mercurial > hg > orthanc
diff Resources/CMake/Compiler.cmake @ 1638:158e7b6f859a dcmtk-3.6.1
dcmtk 3.6.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Sep 2015 10:23:22 +0200 |
parents | 307b9ea6c39b |
children | c131566b8252 |
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake Wed Sep 23 10:00:26 2015 +0200 +++ b/Resources/CMake/Compiler.cmake Wed Sep 23 10:23:22 2015 +0200 @@ -42,7 +42,6 @@ -D_CRT_SECURE_NO_DEPRECATE=1 ) include_directories(${ORTHANC_ROOT}/Resources/ThirdParty/VisualStudio) - link_libraries(netapi32) endif() @@ -69,6 +68,8 @@ endif() elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") + link_libraries(netapi32) + if (MSVC) message("MSVC compiler version = " ${MSVC_VERSION} "\n") # Starting Visual Studio 2013 (version 1800), it is not possible