- 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:
Jérôme Gardou 2010-10-08 18:04:16 +00:00
parent e20a0a30ee
commit db37322eb6
3 changed files with 11 additions and 12 deletions

View file

@ -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)