CMake: improve error message

This commit is contained in:
dsc 2022-05-04 19:29:41 +02:00
parent f83ceb2a96
commit 7a91ba5a84
1 changed files with 1 additions and 1 deletions

View File

@ -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()