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}