From 8911dcbe35647f7233b7c10750e92f6d340123e4 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Mon, 2 Jan 2023 15:17:06 +0100 Subject: [PATCH] Get rid of some warnings. --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6792309..f369538 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,6 +13,8 @@ add_executable(${CMAKE_PROJECT_NAME} ${SOURCES}) pico_set_program_name(${CMAKE_PROJECT_NAME} "abfall") pico_set_program_version(${CMAKE_PROJECT_NAME} ${PROJECT_VERSION}) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-volatile") + # Add the standard include files to the build target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_LIST_DIR}