Get rid of some warnings.
This commit is contained in:
parent
75d630604d
commit
8911dcbe35
1 changed files with 2 additions and 0 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue