mirror of https://github.com/aria2/aria2
we really need these to be lists but wiht the simi-colons seperated backing
parent
7f7cdab61c
commit
b0aa8a3550
|
@ -37,13 +37,14 @@ config_h_add_compile_definitions(HOST="${HOST_ID}")
|
|||
config_h_add_compile_definitions(BUILD="${BUILD_ID}")
|
||||
config_h_add_compile_definitions(TARGET="${TARGET_ID}")
|
||||
|
||||
|
||||
if(WIN32)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_POSIX_C_SOURCE=1")
|
||||
|
||||
if(MSVC)
|
||||
# set(EXTRALIBS ws2_32 wsock32 gdi32 iphlpapi psapi ${EXTRALIBS})
|
||||
set(EXTRALDFLAGS "${EXTRALDFLAGS} /DYNAMICBASE /NXCOMPAT")
|
||||
list(APPEND EXTRALDFLAGS /DYNAMICBASE /NXCOMPAT)
|
||||
|
||||
else() # MINGW
|
||||
list(APPEND EXTRALIBS -lws2_32 -lwsock32 -lgdi32 -liphlpapi -lpsapi ${EXTRALIBS})
|
||||
|
|
Loading…
Reference in New Issue