Skip to content

Commit f77d750

Browse files
authored
Add back if(ESP_PLATFORM) (#26)
1 parent 8d55761 commit f77d750

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

CMakeLists.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
cmake_minimum_required(VERSION 3.15)
22

3-
idf_component_register(
4-
SRCS "src/improv.cpp"
5-
INCLUDE_DIRS "src"
6-
)
3+
if(ESP_PLATFORM)
4+
idf_component_register(
5+
SRCS "src/improv.cpp"
6+
INCLUDE_DIRS "src"
7+
)
8+
return()
9+
endif()
10+
11+
project(improv VERSION 1.2.4)

0 commit comments

Comments
 (0)