3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 16:34:53 +02: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()