refactor(esp_partition): Made private includes private on Linux

This commit is contained in:
Jakob Hasse
2024-03-19 17:54:24 +08:00
parent 562623c67e
commit 69c04f4adf
3 changed files with 10 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
idf_component_register(SRCS "partition_api_test.c"
REQUIRES esp_partition unity)
PRIV_REQUIRES esp_partition unity spi_flash)
# set BUILD_DIR because test uses a file created in the build directory
target_compile_definitions(${COMPONENT_LIB} PRIVATE "BUILD_DIR=\"${build_dir}\"")