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:
parent
cc8c830803
commit
c4181a9c48
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue