boost, cmake: Turn off warning that signals are deprecated

This commit is contained in:
Kornel Benko 2014-04-29 18:01:50 +02:00
parent a25c946b31
commit 21541a07de

View File

@ -590,6 +590,7 @@ else()
set(Lyx_Boost_Libraries boost_signals boost_regex) set(Lyx_Boost_Libraries boost_signals boost_regex)
endif() endif()
add_definitions(-DBOOST_USER_CONFIG="<config.h>") add_definitions(-DBOOST_USER_CONFIG="<config.h>")
add_definitions(-DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1)
include_directories(${TOP_SRC_DIR}/boost) include_directories(${TOP_SRC_DIR}/boost)
add_subdirectory(boost "${TOP_BINARY_DIR}/boost") add_subdirectory(boost "${TOP_BINARY_DIR}/boost")
endif() endif()