Browse Source

Fix broken cmake macro

Only the first config in the list was being seen
Ben Payne 10 years ago
parent
commit
4b57dde346
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tools/CMake/basics.cmake

+ 1 - 1
Tools/CMake/basics.cmake

@@ -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()