From 049f614759fd04c1190e8455cc60e81d154c7b26 Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Mon, 9 Mar 2020 13:57:26 +0100 Subject: [PATCH] Disable deprecation warnings for now. Otherwise the pybind11 compilation output is too cluttered. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c1f8bff..1f16199 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ find_package(storm REQUIRED) add_subdirectory(resources/pybind11) option(STORMPY_DISABLE_SIGNATURE_DOC "Disable the signature in the documentation" OFF) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/generated/config.h)