Fix a typo.Thanks to Usurp for noticing.
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 19 Sep 2010 20:10:55 +0000 (20:10 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 19 Sep 2010 20:10:55 +0000 (20:10 +0000)
svn path=/branches/cmake-bringup/; revision=48822

gcc.cmake

index f760ac0..4c3ec59 100644 (file)
--- a/gcc.cmake
+++ b/gcc.cmake
@@ -44,7 +44,7 @@ macro(add_importlibs MODULE)
 endmacro()\r
 \r
 macro(set_module_type MODULE TYPE)\r
-  target_link_libraries(calc mingw_wmain mingw_common)\r
+  target_link_libraries(${MODULE} mingw_wmain mingw_common)\r
   if(${TYPE} MATCHES win32gui)\r
     set_entrypoint(${MODULE} wWinMainCRTStartup)\r
   endif()\r