Commit 62d5138c authored by Brad King's avatar Brad King
Browse files

ENH: Added FindPackageTest to improve coverage.

parent 78367fbc
......@@ -165,6 +165,11 @@ IF(BUILD_TESTING)
CustomCommand
${CMake_BINARY_DIR}/Tests/CustomCommand/bin)
ADD_TEST(FindPackageTest ${EXECUTABLE_OUTPUT_PATH}/cmaketest
${CMake_SOURCE_DIR}/Tests/FindPackageTest
${CMake_BINARY_DIR}/Tests/FindPackageTest
FindPackageTest)
ADD_TEST(SystemInformation ${EXECUTABLE_OUTPUT_PATH}/cmaketest
${CMake_SOURCE_DIR}/Tests/SystemInformation
${CMake_BINARY_DIR}/Tests/SystemInformation
......
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)
Markdown is supported
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