Browse Source

BUG: Fixed incorrectly matched FOREACH (7008).

Miguel A. Figueroa-Villanueva 17 years ago
parent
commit
973b03994a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindwxWidgets.cmake

+ 1 - 1
Modules/FindwxWidgets.cmake

@@ -572,7 +572,7 @@ ELSE(WIN32_STYLE_FIND)
       ELSE(_wx_result EQUAL 0)
         FOREACH(_upper_opt_name DEBUG STATIC UNICODE UNIVERSAL)
           SET(wxWidgets_DEFAULT_${_upper_opt_name} OFF)
-        ENDFOREACH(_opt_name)
+        ENDFOREACH(_upper_opt_name)
       ENDIF(_wx_result EQUAL 0)
     ENDMACRO(WX_CONFIG_SELECT_GET_DEFAULT)