From 0bed11d9606dd591a08c08b752df0121aaabf00d Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Thu, 11 Feb 2016 18:35:05 +0100 Subject: [PATCH] Backport 21541a07: boost, cmake: Turn off warning that signals are deprecated --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b328768ab..8aab4812ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -577,6 +577,7 @@ else() set(Lyx_Boost_Libraries boost_signals boost_regex) endif() add_definitions(-DBOOST_USER_CONFIG="") + add_definitions(-DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1) include_directories(${TOP_SRC_DIR}/boost) add_subdirectory(boost "${TOP_BINARY_DIR}/boost") endif()