From 49776092d1b78dbc980553bc3ca6232a35ed6baa Mon Sep 17 00:00:00 2001 From: Innokentij Alajcev Date: Wed, 19 Jul 2017 08:40:34 +0400 Subject: [PATCH] Fixed wrong condition for building network support --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bd7c1c4..7718995d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -364,7 +364,7 @@ else() endif() # add network module headers if enabled - if(SFML_BUILD_GRAPHICS) + if(SFML_BUILD_NETWORK) add_custom_command(TARGET SFML POST_BUILD COMMAND cp -r ${PROJECT_SOURCE_DIR}/include/SFML/Network.hpp ${PROJECT_SOURCE_DIR}/include/SFML/Network