-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #772 from Daft-Freak/pico-example-320
Pico examples changes
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |