From 7a91ba5a841f08fd11fb52e9462c7f6df2fc98cc Mon Sep 17 00:00:00 2001 From: dsc Date: Wed, 4 May 2022 19:29:41 +0200 Subject: [PATCH] CMake: improve error message --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de5bc2e..8ccc897 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -205,7 +205,7 @@ if(TOR_BIN) if (EXISTS "${tor_path}") message(STATUS "Tor found: ${tor_path}") else() - message(FATAL_ERROR "TOR_BIN is set, so the following file needs to be present: '${fn}'") + message(FATAL_ERROR "TOR_BIN is set, so the following file needs to be present: '${tor_path}'") endif() set(TOR_BIN "${tor_path}") endforeach()