]> git.lyx.org Git - features.git/commitdiff
boost, cmake: Turn off warning that signals are deprecated
authorKornel Benko <kornel@lyx.org>
Tue, 29 Apr 2014 16:01:50 +0000 (18:01 +0200)
committerKornel Benko <kornel@lyx.org>
Tue, 29 Apr 2014 16:01:50 +0000 (18:01 +0200)
CMakeLists.txt

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