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:
parent
a14bf3975b
commit
a4bfce94b2
2
deps/external_dependency.cmake
vendored
2
deps/external_dependency.cmake
vendored
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user