X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMake%2FFindDicom3Tools.cmake;h=d8176f4d00ec723c4c13a26cbae0559914ea9c91;hb=692c278613503559a7e64e475374f3e06f6da257;hp=768d673eeb3cf9a0f4dd0d74c71df878c8ecf575;hpb=059cb99a9d4278de4030a1702d2e391ac1b462fd;p=gdcm.git diff --git a/CMake/FindDicom3Tools.cmake b/CMake/FindDicom3Tools.cmake index 768d673e..d8176f4d 100644 --- a/CMake/FindDicom3Tools.cmake +++ b/CMake/FindDicom3Tools.cmake @@ -4,11 +4,22 @@ # DCIODVFY_EXECUTABLE - the full path to the dciodvfy # DCIODVFY_FOUND - If false, don't attempt to use dciodvfy +# dicom3tools are funny to build you'll need imake +# Anyway in order not to pollute your system, you can do an in-source build +# and install which should be clean enough: +# +# ./Configure +# imake -I./config -DInstallInTopDir +# make World +# make install (will copy in ./bin) +# +# then all you need to do is export an env var DICOM3TOOLS pointing to that dir + FIND_PROGRAM(DCIODVFY_EXECUTABLE dciodvfy "/tmp/" - "/tmp/dicom3tools_1.00.snapshot.20041227.graymax/appsrc/dcfile/" - "${DICOM3TOOLS}/bin" + "$ENV{DICOM3TOOLS}/bin" + "$ENV{DICOM3TOOLS}/bin/1.2.6.8." ) MARK_AS_ADVANCED(