CMakeLists.txt 349 B

123456789101112
  1. PROJECT(FindPackageTest)
  2. # Look for a package that has a find module and may be found.
  3. FIND_PACKAGE(OpenGL QUIET)
  4. # Look for a package that has no find module and will not be found.
  5. FIND_PACKAGE(NotAPackage QUIET)
  6. # Look for a package that has an advanced find module.
  7. FIND_PACKAGE(VTK QUIET)
  8. ADD_EXECUTABLE(FindPackageTest FindPackageTest.cxx)