Why doesn\'t the following command work?
SET(MY_LIST a b c d) LIST(GET ${MY_LIST} 0 HEAD) MESSAGE(\"HEAD = ${HEAD}\")
I want it to assign <
The list commands require an unsubstituted variable as the second argument, i.e.:
set (MY_LIST a b c d) list (GET MY_LIST 0 HEAD) message ("HEAD = ${HEAD}")