From 21541a07de371b09b3ec6e89e52b45ea224767e8 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 29 Apr 2014 18:01:50 +0200 Subject: [PATCH] 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 51b67fb69c..8ab1bea258 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -590,6 +590,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()