Damus
niconiconi profile picture
niconiconi
Spent half an hour trying to figure out how to escape a semicolon in CMAKE_ARGS. It's a nasty problem, whenever the variable value is used to set another variable, the semicolon character becomes a list separator, so the number of escapes depends on the number of variable expansions... The solution is to use the generator expression $<SEMICOLON>... (only for CMake 3.3+).