add support to use system tests outside fetchcontent

David Rebbe 2024-12-11 09:49:21 -05:00
parent bfd9802860
commit 68fe63c566
1 changed files with 2 additions and 1 deletions

View File

@ -589,7 +589,8 @@ if(LIBICSNEO_BUILD_SYSTEM_TESTS)
)
FetchContent_MakeAvailable(SystemTests)
else()
message("System test repo not defined!")
message(WARNING "LIBICSNEO_SYSTEM_TESTS env variable not defined, attempting to use ${CMAKE_CURRENT_SOURCE_DIR}/test/system anyways...")
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/test/system)
endif()
endif()