Hi Joerg, On Thu, May 31, 2018 at 04:11:21PM +0200, Jörg Riesmeier wrote: > Instead of adding quotation marks, I would rather recommend to use the > variable name in the IF() statements and not the string value. See attached > patch (based on the current development version of the DCMTK).
Thank you for the quick followup. > I just tested it and it seems to work. What do you think? I fear that I lack CMake experience and I didn't know that this was possible. Still if it works at all, it looks like the better solution indeed. It seems that the one thing to avoid is $-expanded, unquoted variables. Please go ahead. Helmut