diff --git a/CMakeLists.txt b/CMakeLists.txt index 802a3673..da8cdbe7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,9 @@ SET( MAJOR_VERSION 0 ) SET( MINOR_VERSION 7 ) SET( PATCH_VERSION 0 ) +# Disable deprecated warnings from SFML +add_definitions(-DSFML_NO_DEPRECATED_WARNINGS) + # Fill in the version in the config file configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/include/TGUI/Config.hpp.in" "${CMAKE_CURRENT_SOURCE_DIR}/include/TGUI/Config.hpp")