Author: jgardou
Date: Thu Oct 7 11:47:29 2010
New Revision: 49030
URL:
http://svn.reactos.org/svn/reactos?rev=49030&view=rev
Log:
[CMAKE]
- add missing file to mingw_common
Modified:
branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt
Modified: branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/ming…
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] Thu Oct 7
11:47:29 2010
@@ -7,7 +7,7 @@
add_definitions(-Wno-main)
endif(NOT MSVC)
-set(MINGW_COMMON_SOURCE
+list(APPEND MINGW_COMMON_SOURCE
_newmode.c
atonexit.c
binmode.c
@@ -27,6 +27,7 @@
pseudo-reloc.c
pseudo-reloc-list.c
tlsmcrt.c
+ tlsmthread.c
tlssup.c
tlsthrd.c
txtmode.c
@@ -40,7 +41,8 @@
add_library(mingw_common ${MINGW_COMMON_SOURCE})
if(NOT MSVC)
-target_link_libraries(mingw_common oldnames -lkernel32 -lntdll)
+ target_link_libraries(mingw_common oldnames)
+ add_importlibs(mingw_common kernel32 ntdll)
endif(NOT MSVC)
set_target_properties(mingw_common PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)