On 4/15/09, Patrick Holthaus <patrick.holth...@uni-bielefeld.de> wrote: > INSTALL(CODE "FILE(MAKE_DIRECTORY ${INCLUDEDIR_B}/iwPlugins)") <snip/> > It seems for me that the variable INCLUDEDIR_B is not expanded to the > sandbox path but /usr/include within the CODE statement.
Just a wild guess from a perl-fan: would it work if you escaped that dollar sign with a backslash? It might move the expansion around a bit, maybe even to the right place if you're lucky. -- Arttu V.