Skip to content

Commit ad14f11

Browse files
committed
Merge branch 'bugfix/psram_cmake_3_16_error' into 'master'
fix(build): fixed build error when compiling with cmake 3.16 Closes IDF-12739 See merge request espressif/esp-idf!38090
2 parents ab72002 + d0e555a commit ad14f11

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

components/esp_psram/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ idf_component_register(SRCS ${srcs}
4343

4444
if(CONFIG_SPIRAM)
4545
add_subdirectory(device)
46-
endif()
47-
if(CONFIG_SOC_SPIRAM_XIP_SUPPORTED)
48-
add_subdirectory(xip_impl)
46+
47+
if(CONFIG_SOC_SPIRAM_XIP_SUPPORTED)
48+
add_subdirectory(xip_impl)
49+
endif()
50+
4951
endif()
5052

5153
if(CONFIG_IDF_TARGET_ESP32 AND CONFIG_SPIRAM_CACHE_WORKAROUND AND NOT BOOTLOADER_BUILD)

0 commit comments

Comments
 (0)