mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:12:59 +00:00
[CMAKE]
- link executables against gcc and mingw_common - remove link dependencies from mingw_common This puts C executables into a good shape again. svn path=/branches/cmake-bringup/; revision=49054
This commit is contained in:
parent
e20a0a30ee
commit
db37322eb6
3 changed files with 11 additions and 12 deletions
4
lib/3rdparty/mingw/CMakeLists.txt
vendored
4
lib/3rdparty/mingw/CMakeLists.txt
vendored
|
@ -41,9 +41,7 @@ list(APPEND MINGW_COMMON_SOURCE
|
|||
add_library(mingw_common ${MINGW_COMMON_SOURCE})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(mingw_common)
|
||||
# add_importlibs(mingw_common kernel32 ntdll oldnames)
|
||||
# add_dependencies(mingw_common oldnames)
|
||||
add_dependencies(mingw_common oldnames)
|
||||
endif(NOT MSVC)
|
||||
|
||||
set_target_properties(mingw_common PROPERTIES COMPILE_DEFINITIONS _M_CEE_PURE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue