CMake: improve error message
This commit is contained in:
parent
f83ceb2a96
commit
7a91ba5a84
|
@ -205,7 +205,7 @@ if(TOR_BIN)
|
||||||
if (EXISTS "${tor_path}")
|
if (EXISTS "${tor_path}")
|
||||||
message(STATUS "Tor found: ${tor_path}")
|
message(STATUS "Tor found: ${tor_path}")
|
||||||
else()
|
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()
|
endif()
|
||||||
set(TOR_BIN "${tor_path}")
|
set(TOR_BIN "${tor_path}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
Loading…
Reference in New Issue