From 68fe63c566800538bc110081f84efd3fd3d7c23f Mon Sep 17 00:00:00 2001 From: David Rebbe Date: Wed, 11 Dec 2024 09:49:21 -0500 Subject: [PATCH] add support to use system tests outside fetchcontent --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3360c08..b1218a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()