diff options
author | Brad King <brad.king@kitware.com> | 2003-07-24 11:33:06 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-24 11:33:06 -0400 |
commit | 62d5138ca36bae6c771b68ff7389ebf25e345d24 (patch) | |
tree | d29a652d3ea0e254e12541587fddd6ca5d76dd61 /Tests/FindPackageTest | |
parent | 78367fbc1b52b157961ec3bd9af4de760b4683b5 (diff) | |
download | cmake-62d5138ca36bae6c771b68ff7389ebf25e345d24.tar.gz |
ENH: Added FindPackageTest to improve coverage.
Diffstat (limited to 'Tests/FindPackageTest')
-rw-r--r-- | Tests/FindPackageTest/CMakeLists.txt | 12 | ||||
-rw-r--r-- | Tests/FindPackageTest/FindPackageTest.cxx | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Tests/FindPackageTest/CMakeLists.txt b/Tests/FindPackageTest/CMakeLists.txt new file mode 100644 index 0000000000..6f1a7e5fc0 --- /dev/null +++ b/Tests/FindPackageTest/CMakeLists.txt @@ -0,0 +1,12 @@ +PROJECT(FindPackageTest) + +# Look for a package that has a find module and may be found. +FIND_PACKAGE(OpenGL QUIET) + +# Look for a package that has no find module and will not be found. +FIND_PACKAGE(NotAPackage QUIET) + +# Look for a package that has an advanced find module. +FIND_PACKAGE(VTK QUIET) + +ADD_EXECUTABLE(FindPackageTest FindPackageTest.cxx) diff --git a/Tests/FindPackageTest/FindPackageTest.cxx b/Tests/FindPackageTest/FindPackageTest.cxx new file mode 100644 index 0000000000..f8b643afbf --- /dev/null +++ b/Tests/FindPackageTest/FindPackageTest.cxx @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} |