Fixed wrong condition for building network support

This commit is contained in:
Innokentij Alajcev 2017-07-19 08:40:34 +04:00 committed by GitHub
parent 34ea68bd1d
commit 49776092d1

View File

@ -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