mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
[CMAKE]
- fix "use of uninitialized variables" warning. Yes, cmake got this to! svn path=/trunk/; revision=53111
This commit is contained in:
parent
186d1c6ac5
commit
909357699b
2 changed files with 2 additions and 0 deletions
|
@ -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}")
|
||||
|
|
|
@ -156,6 +156,7 @@ macro(add_importlib_target _exports_file)
|
|||
|
||||
# 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})
|
||||
|
|
Loading…
Reference in a new issue