2 # this module looks for Dicom3Tools, well right now only dciodvfy
4 # DCIODVFY_EXECUTABLE - the full path to the dciodvfy
5 # DCIODVFY_FOUND - If false, don't attempt to use dciodvfy
7 # dicom3tools are funny to build you'll need imake
8 # Anyway in order not to pollute your system, you can do an in-source build
9 # and install which should be clean enough:
12 # imake -I./config -DInstallInTopDir
14 # make install (will copy in ./bin)
16 # then all you need to do is export an env var DICOM3TOOLS pointing to that dir
18 FIND_PROGRAM(DCIODVFY_EXECUTABLE
21 "$ENV{DICOM3TOOLS}/bin"
22 "$ENV{DICOM3TOOLS}/bin/1.2.6.8."
29 IF (NOT DCIODVFY_EXECUTABLE)
30 SET(DCIODVFY_FOUND "NO")
31 ELSE (NOT DCIODVFY_EXECUTABLE)
32 SET(DCIODVFY_FOUND "YES")
33 ENDIF (NOT DCIODVFY_EXECUTABLE)