Skip to content

Commit

Permalink
pico: Disable tilt example
Browse files Browse the repository at this point in the history
It doesn't do anything interesting without accel, also doesn't build with a 320x240 framebuffer
  • Loading branch information
Daft-Freak committed Jun 2, 2022
1 parent 203bb9c commit 9de5225
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/tilt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
cmake_minimum_required(VERSION 3.9)
project (tilt)
find_package (32BLIT CONFIG REQUIRED PATHS ../..)

if(32BLIT_PICO)
# No accelerometer
return()
endif()

blit_executable (tilt tilt.cpp)
blit_metadata (tilt metadata.yml)

0 comments on commit 9de5225

Please sign in to comment.