An error occurred while fetching this tab.
Mark dependencies as required when the build requires them
- Sep 10, 2018
-
-
Hadrien Benjamin Grasland authored
-
Hadrien Benjamin Grasland authored
-
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: