Skip to content

Commit a88eda6

Browse files
committed
CMakelists: conditionally add subdir if ARDUINO en
* Conditionally include sub directories specific to the ARDUINO_API module in CMAkelists * Solve #46 Signed-off-by: Dhruva Gole <[email protected]>
1 parent 78133a2 commit a88eda6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3+
if (CONFIG_ARDUINO_API)
34
add_subdirectory(cores)
45
add_subdirectory(variants)
56
add_subdirectory(libraries)
7+
endif()
8+

0 commit comments

Comments
 (0)