mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 20:22:18 +00:00
[CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main [STLPORT] - move features definitions where it belongs. [SDK] - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke. svn path=/branches/cmake-bringup/; revision=49049
This commit is contained in:
parent
1958e125aa
commit
27267a3cab
4 changed files with 14 additions and 30 deletions
4
lib/3rdparty/mingw/CMakeLists.txt
vendored
4
lib/3rdparty/mingw/CMakeLists.txt
vendored
|
@ -57,10 +57,6 @@ add_library(mingw_wmain crt0_w.c crtexe.c dllargv.c)
|
|||
set_property(TARGET mingw_wmain PROPERTY COMPILE_DEFINITIONS WPRFLAG UNICODE _UNICODE)
|
||||
add_dependencies(mingw_wmain psdk)
|
||||
|
||||
#hack : this way, every executable will be linked to libgcc
|
||||
target_link_libraries(mingw_main gcc)
|
||||
target_link_libraries(mingw_wmain gcc)
|
||||
|
||||
add_library(mingw_dllmain crtdll.c dllargv.c)
|
||||
add_dependencies(mingw_dllmain psdk)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue