CMake/Tests/RunCMake/FeatureSummary/FeatureSummaryCustomBadDefault-stderr.txt
Daniele E. Domenichelli 3cfde81835 FeatureSummary: Refactor to use global properties for package types
These new global properties were added:

* FeatureSummary_PKG_TYPES: Package types accepted by FeatureSummary
  (default REQUIRED RECOMMENDED OPTIONAL RUNTIME).
* FeatureSummary_REQUIRED_PKG_TYPES: Package types that will cause
  FeatureSummary to abort when called with
  FATAL_ON_MISSING_REQUIRED_PACKAGES and a package in these categories
  is missing (default REQUIRED).
* FeatureSummary_DEFAULT_PKG_TYPE: Default package type assigned when
  not explicitly assigned by the user (default OPTIONAL).

This allows to add and remove new package types that can be printed
selectively using the "WHAT" argument.
2017-01-26 12:28:12 +01:00

10 lines
533 B
Plaintext

CMake Error at .*/Modules/FeatureSummary\.cmake:[0-9]+. \(message\):
Bad package property type OPTIONAL used in global property
FeatureSummary_DEFAULT_PKG_TYPE. Valid types are TYPE1, TYPE2 and TYPE3.
Either update FeatureSummary_DEFAULT_PKG_TYPE or add OPTIONAL to the
FeatureSummary_PKG_TYPES global property.
Call Stack \(most recent call first\):
.*/Modules/FeatureSummary\.cmake:[0-9]+. \(_FS_GET_FEATURE_SUMMARY\)
FeatureSummaryCustomBadDefault.cmake:[0-9]+ \(feature_summary\)
CMakeLists.txt:[0-9]+ \(include\)