https://github.com/Kitware/CMake
Raw File
Tip revision: e1e6e105215172ec37b3faf7f929c8506e285297 authored by Bill Hoffman on 01 June 2006, 13:38:12 UTC
ENH: change the version number to match the release for cygwin
Tip revision: e1e6e10
CMakeLists.txt
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)
back to top