Mark dependencies as required when the build requires them
Compare changes
Files
21+ 2
− 2
@@ -3,8 +3,8 @@ gaudi_subdir(GaudiAlg)
In CMake, if a dependency is not explicitly marked as REQUIRED, then if it's not present the build will continue and try to do... something, in the usual bash script fashion: set all environment variables to an empty string and cross fingers that everything will work anyhow.
This MR therefore proposes to mark every find_package statement whose dependency seems required for the build to succeed as REQUIRED. Whether a dependency is required was determined through the following criteria: