Get rid of some warnings.

This commit is contained in:
Martin Brodbeck 2023-01-02 15:17:06 +01:00
parent 75d630604d
commit 8911dcbe35

View file

@ -13,6 +13,8 @@ add_executable(${CMAKE_PROJECT_NAME} ${SOURCES})
pico_set_program_name(${CMAKE_PROJECT_NAME} "abfall") pico_set_program_name(${CMAKE_PROJECT_NAME} "abfall")
pico_set_program_version(${CMAKE_PROJECT_NAME} ${PROJECT_VERSION}) 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 # Add the standard include files to the build
target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR} ${CMAKE_CURRENT_LIST_DIR}