3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 12:03:50 +01:00

[cmake] Improve error message for external_dependency function

This commit is contained in:
Nils Wentzell 2020-04-28 17:19:13 -04:00
parent a14bf3975b
commit a4bfce94b2

View File

@ -16,7 +16,7 @@ function(external_dependency)
message(STATUS "Found dependency ${ARGV0} in system.")
return()
elseif(Build_Deps STREQUAL "Never")
message(FATAL_ERROR "Could not find dependency ${ARGV0} in system.")
message(FATAL_ERROR "Could not find dependency ${ARGV0} in system. Please install the dependency manually or use -DBuild_Deps=IfNotFound during cmake configuration to automatically build all dependencies that are not found.")
endif()
endif()