From a1affca2ca17cc52a2b665fffb6cf0aba9639b96 Mon Sep 17 00:00:00 2001 From: carlo-bramini <30959007+carlo-bramini@users.noreply.github.com> Date: Sat, 27 Oct 2018 10:11:28 +0200 Subject: [PATCH] Use "enable-network" instead of NETWORK_SUPPORT --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 312554f3..a5c740fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" )