From 24028fd97327f2539c348ec98289035fb3b7c339 Mon Sep 17 00:00:00 2001 From: Yuriy Yashchenko Date: Wed, 31 Jan 2024 15:59:43 +0100 Subject: [PATCH] Use correct variable when checking for expected-lite dependency --- dev/restinio/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/restinio/CMakeLists.txt b/dev/restinio/CMakeLists.txt index 5c0a5ecf..c394c578 100644 --- a/dev/restinio/CMakeLists.txt +++ b/dev/restinio/CMakeLists.txt @@ -146,7 +146,7 @@ if ("${RESTINIO_EXPLICIT_CPPSTD}" STREQUAL "17" # conditional block. endif() -if (RESTINIO_DEP_FMT STREQUAL "system") +if (RESTINIO_DEP_EXPECTED_LITE STREQUAL "system") message(STATUS "Using system expected-lite") elseif (TARGET expected-lite::expected-lite) target_link_libraries(${RESTINIO_LIBRARY_NAME} INTERFACE expected-lite::expected-lite)