Use "enable-network" instead of NETWORK_SUPPORT

This commit is contained in:
carlo-bramini 2018-10-27 10:11:28 +02:00 committed by GitHub
parent 02d7ab6939
commit a1affca2ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,9 +206,9 @@ if ( WIN32 )
set ( WINDOWS_SUPPORT ${HAVE_WINDOWS_H} )
if ( NETWORK_SUPPORT )
if ( enable-network )
set ( WINDOWS_LIBS "${WINDOWS_LIBS};ws2_32" )
endif ( NETWORK_SUPPORT )
endif ( enable-network )
if ( enable-dsound AND HAVE_DSOUND_H )
set ( WINDOWS_LIBS "${WINDOWS_LIBS};dsound" )