diff -ur dcmtk-3.6.7-orig/CMake/GenerateDCMTKConfigure.cmake dcmtk-3.6.7/CMake/GenerateDCMTKConfigure.cmake
--- dcmtk-3.6.7-orig/CMake/GenerateDCMTKConfigure.cmake	2022-04-28 21:47:25.000000000 +0800
+++ dcmtk-3.6.7/CMake/GenerateDCMTKConfigure.cmake	2022-11-14 20:52:21.642075900 +0800
@@ -120,7 +120,7 @@
 
 # Windows being windows, it lies about its processor type to 32 bit binaries
 set(SYSTEM_PROCESSOR "$ENV{PROCESSOR_ARCHITEW6432}")
-if(NOT SYSTEM_PROCESSOR)
+if(NOT SYSTEM_PROCESSOR OR SYSTEM_PROCESSOR STREQUAL "AMD64")
   if(WIN32 AND NOT CYGWIN)
     if(CMAKE_GENERATOR_PLATFORM)
       set(SYSTEM_PROCESSOR "${CMAKE_GENERATOR_PLATFORM}")
