Disable the compiler warning for deprecated boost::signals usage (#63). We cannot use boost::signals2 right now, because Swiften is not going to use it in the version 3.x.y.

This commit is contained in:
Jan Kaluza 2015-11-10 12:30:26 +01:00
parent cc8c830803
commit c4181a9c48

View file

@ -426,6 +426,10 @@ if (WIN32)
ADD_DEFINITIONS(-DBOOST_THREAD_USE_LIB)
endif()
# We cannot use boost:signals2, because Swiften does not use them,
# for now, just ignore the deprecation warning.
ADD_DEFINITIONS(-DBOOST_SIGNALS_NO_DEPRECATION_WARNING)
if(CMAKE_BUILD_TYPE MATCHES Debug)
if (CMAKE_COMPILER_IS_GNUCXX)
ADD_DEFINITIONS(-O0)