move test cases after PICO_SDK_POST_LIDR_DIRS inclusion, so pico-host-sdl can be used
This commit is contained in:
parent
760cb59c97
commit
24e6668b35
@ -30,16 +30,17 @@ if (NOT TARGET _pico_sdk_inclusion_marker)
|
||||
|
||||
add_compile_options(-Winline)
|
||||
|
||||
# allow customization
|
||||
add_sub_list_dirs(PICO_SDK_POST_LIST_DIRS)
|
||||
|
||||
if (PICO_SDK_TOP_LEVEL_PROJECT AND NOT DEFINED PICO_SDK_TESTS_ENABLED)
|
||||
set(PICO_SDK_TESTS_ENABLED 1)
|
||||
endif()
|
||||
if (PICO_SDK_TESTS_ENABLED)
|
||||
add_subdirectory(test)
|
||||
endif ()
|
||||
set(PICO_SDK_TESTS_ENABLED "${PICO_SDK_TESTS_ENABLED}" CACHE INTERNAL "Enable build of SDK tests")
|
||||
|
||||
# allow customization
|
||||
add_sub_list_dirs(PICO_SDK_POST_LIST_DIRS)
|
||||
set(PICO_SDK_TESTS_ENABLED "${PICO_SDK_TESTS_ENABLED}" CACHE INTERNAL "Enable build of SDK tests")
|
||||
|
||||
# add docs at the end, as we gather documentation dirs as we go
|
||||
add_subdirectory(docs)
|
||||
|
Loading…
Reference in New Issue
Block a user