summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-19 14:49:01 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-19 14:53:36 (GMT)
commit6d100f9f469b48ad25a3958e2b4865a9d9d37523 (patch)
treef561f75acfcd41e80befca08788a433f3614b989 /Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake
parentd81d83c218be6f8047c1c9cea63e69bc1ad4d9c0 (diff)
downloadCMake-6d100f9f469b48ad25a3958e2b4865a9d9d37523.zip
CMake-6d100f9f469b48ad25a3958e2b4865a9d9d37523.tar.gz
CMake-6d100f9f469b48ad25a3958e2b4865a9d9d37523.tar.bz2
find_package: Test rejection of required+optional components
Diffstat (limited to 'Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake')
-rw-r--r--Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake b/Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake
new file mode 100644
index 0000000..0355f5a
--- /dev/null
+++ b/Tests/RunCMake/find_package/ComponentRequiredAndOptional.cmake
@@ -0,0 +1 @@
+find_package(NotHere REQUIRED CompA CompB CompC OPTIONAL_COMPONENTS CompA CompB CompD)