Commit d458b41a authored by Gregory C. Sharp's avatar Gregory C. Sharp

Fix build problem on windows

parent 87e35c12
......@@ -8,16 +8,10 @@ if (DCMTK_wrap_FIND_REQUIRED)
list (APPEND DCMTK_EXTRA_ARGS REQUIRED)
endif ()
# if (DCMTK_DIR AND EXISTS "${DCMTK_DIR}/DCMTKConfig.cmake")
# find_package (DCMTK NO_MODULE ${EXTRA_ARGS})
# else ()
# find_package (DCMTK_legacy ${EXTRA_ARGS})
# endif ()
find_package (DCMTK NO_MODULE ${EXTRA_ARGS})
find_package (DCMTK NO_MODULE ${DCMTK_EXTRA_ARGS})
if (NOT DCMTK_FOUND)
message (STATUS "Searching for DCMTK using legacy method")
find_package (DCMTK_legacy ${EXTRA_ARGS})
find_package (DCMTK_legacy ${DCMTK_EXTRA_ARGS})
endif ()
# The DCMTK 3.6.2 DCMTKConfig.cmake seems to be broken on windows
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment