mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 18:56:48 +00:00
[CMAKE]
- add missing file to mingw_common svn path=/branches/cmake-bringup/; revision=49030
This commit is contained in:
parent
9a1ab426cf
commit
4553cddf93
1 changed files with 4 additions and 2 deletions
6
lib/3rdparty/mingw/CMakeLists.txt
vendored
6
lib/3rdparty/mingw/CMakeLists.txt
vendored
|
@ -7,7 +7,7 @@ if(NOT MSVC)
|
||||||
add_definitions(-Wno-main)
|
add_definitions(-Wno-main)
|
||||||
endif(NOT MSVC)
|
endif(NOT MSVC)
|
||||||
|
|
||||||
set(MINGW_COMMON_SOURCE
|
list(APPEND MINGW_COMMON_SOURCE
|
||||||
_newmode.c
|
_newmode.c
|
||||||
atonexit.c
|
atonexit.c
|
||||||
binmode.c
|
binmode.c
|
||||||
|
@ -27,6 +27,7 @@ set(MINGW_COMMON_SOURCE
|
||||||
pseudo-reloc.c
|
pseudo-reloc.c
|
||||||
pseudo-reloc-list.c
|
pseudo-reloc-list.c
|
||||||
tlsmcrt.c
|
tlsmcrt.c
|
||||||
|
tlsmthread.c
|
||||||
tlssup.c
|
tlssup.c
|
||||||
tlsthrd.c
|
tlsthrd.c
|
||||||
txtmode.c
|
txtmode.c
|
||||||
|
@ -40,7 +41,8 @@ set(MINGW_COMMON_SOURCE
|
||||||
add_library(mingw_common ${MINGW_COMMON_SOURCE})
|
add_library(mingw_common ${MINGW_COMMON_SOURCE})
|
||||||
|
|
||||||
if(NOT MSVC)
|
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)
|
endif(NOT MSVC)
|
||||||
|
|
||||||
set_target_properties(mingw_common PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)
|
set_target_properties(mingw_common PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)
|
||||||
|
|
Loading…
Reference in a new issue