Only the first config in the list was being seen
@@ -112,7 +112,7 @@ endmacro()
macro(addDef def)
set(def_configs "")
if(${ARGC} GREATER 1)
- foreach(config "${ARGV1}")
+ foreach(config ${ARGN})
__addDef(${def} ${config})
endforeach()
else()