Commit 6d100f9f authored by Brad King's avatar Brad King
Browse files

find_package: Test rejection of required+optional components

parent d81d83c2
CMake Error at ComponentRequiredAndOptional.cmake:1 \(find_package\):
find_package called with components that are both required and optional:
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
find_package(NotHere REQUIRED CompA CompB CompC OPTIONAL_COMPONENTS CompA CompB CompD)
include(RunCMake) include(RunCMake)
run_cmake(MissingNormal) run_cmake(MissingNormal)
run_cmake(MissingNormalRequired) run_cmake(MissingNormalRequired)
run_cmake(MissingNormalVersion) run_cmake(MissingNormalVersion)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment