Author: jgardou
Date: Sun Aug 7 00:46:46 2011
New Revision: 53111
URL:
http://svn.reactos.org/svn/reactos?rev=53111&view=rev
Log:
[CMAKE]
- fix "use of uninitialized variables" warning.
Yes, cmake got this to!
Modified:
trunk/reactos/cmake/compilerflags.cmake
trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/compilerflags.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/compilerflags.cmake?…
==============================================================================
--- trunk/reactos/cmake/compilerflags.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/compilerflags.cmake [iso-8859-1] Sun Aug 7 00:46:46 2011
@@ -1,5 +1,6 @@
function(add_compiler_flags)
+ set(flags_list "")
# Adds the compiler flag to both CMAKE_C_FLAGS and CMAKE_CXX_FLAGS
foreach(flag ${ARGN})
set(flags_list "${flags_list} ${flag}")
Modified: trunk/reactos/cmake/msvc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=53111…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Sun Aug 7 00:46:46 2011
@@ -156,6 +156,7 @@
# Add neccessary importlibs for redirections
set(_libraries "")
+ set(_dependencies "")
foreach(_lib ${ARGN})
list(APPEND _libraries "${CMAKE_BINARY_DIR}/importlibs/${_lib}.lib")
list(APPEND _dependencies ${_lib})