]> git.lyx.org Git - features.git/blobdiff - CMakeLists.txt
boost, cmake: Turn off warning that signals are deprecated
[features.git] / 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()