Fix MinGW build
This commit is contained in:
@@ -20,5 +20,5 @@ add_library(slirp STATIC tinyglib.c arp_table.c bootp.c cksum.c dnssearch.c if.c
|
|||||||
#target_link_libraries(slirp wsock32 iphlpapi)
|
#target_link_libraries(slirp wsock32 iphlpapi)
|
||||||
#target_link_libraries(slirp)
|
#target_link_libraries(slirp)
|
||||||
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
|
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||||
target_link_libraries(wsock32 iphlpapi)
|
target_link_libraries(slirp wsock32 iphlpapi)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user