Skip to content
Snippets Groups Projects
Commit 083928bf authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Some MinGW stuff

parent bfe23e4c
No related branches found
No related tags found
No related merge requests found
...@@ -31,10 +31,8 @@ set(SOURCE ...@@ -31,10 +31,8 @@ set(SOURCE
xp_dl.c xp_dl.c
xpbeep.c xpbeep.c
xpdatetime.c xpdatetime.c
xpevent.c
xpmap.c xpmap.c
xpprintf.c xpprintf.c
xpsem.c
xptime.c xptime.c
) )
...@@ -126,6 +124,7 @@ endif() ...@@ -126,6 +124,7 @@ endif()
target_compile_definitions(xpdev PRIVATE WRAPPER_EXPORTS) target_compile_definitions(xpdev PRIVATE WRAPPER_EXPORTS)
target_compile_definitions(xpdev INTERFACE WRAPPER_IMPORTS) target_compile_definitions(xpdev INTERFACE WRAPPER_IMPORTS)
if(WIN32) if(WIN32)
target_compile_definitions(xpdev PUBLIC _WIN32 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0500)
target_link_libraries(xpdev Iphlpapi Ws2_32 Winmm Netapi32) target_link_libraries(xpdev Iphlpapi Ws2_32 Winmm Netapi32)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Haiku") elseif(CMAKE_SYSTEM_NAME STREQUAL "Haiku")
target_link_libraries(xpdev network m) target_link_libraries(xpdev network m)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment