mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #15073 from rwalton-arm/fix_greentea_ctest
CMake: QSPIFBlockDevice: Guard unit test directorypull/15078/head
commit
8698a5516c
|
@ -13,5 +13,7 @@ target_sources(mbed-storage-qspif
|
|||
)
|
||||
|
||||
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
|
||||
add_subdirectory(UNITTESTS)
|
||||
if (NOT BUILD_GREENTEA_TESTS)
|
||||
add_subdirectory(UNITTESTS)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue