Skip to content

Commit

Permalink
added comment to CMakeLists explaining ESP-IDF conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjmux committed May 4, 2024
1 parent 3ce6f2f commit 8623aa7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# ESP-IDF component line

# If we're building in ESP-IDF, register tetris as a component.
# Does not run if we're building normally, (eg for testing on x86).
if(ESP_PLATFORM)
idf_component_register(SRCS "tetris/tetris.c"
INCLUDE_DIRS "tetris")
Expand Down

0 comments on commit 8623aa7

Please sign in to comment.