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)