Bill Hoffman c75fb61f3c ENH: put back find qtmain 19 سال پیش
..
Platform 47ef504530 BUG: fix for bug 3550, for release builds do not build incremental 19 سال پیش
AddFileDependencies.cmake a980fdc96a BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES() 20 سال پیش
CMake.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeAddNewLanguage.txt 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 20 سال پیش
CMakeBackwardCompatibilityC.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeBackwardCompatibilityCXX.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 20 سال پیش
CMakeBorlandFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 سال پیش
CMakeBuildSettings.cmake.in ee72d5740b ENH: Adding CMAKE_EXPORT_BUILD_SETTINGS and CMAKE_IMPORT_BUILD_SETTINGS macro. 23 سال پیش
CMakeCCompiler.cmake.in aa98e3647d ENH: fix more than one argument passed in to compilers via environment 20 سال پیش
CMakeCInformation.cmake 08289893b8 ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway. 19 سال پیش
CMakeCXXCompiler.cmake.in b78d936ecf BUG: Need to duplicate some information from CMakeCCompiler to support C++-only projects. 20 سال پیش
CMakeCXXInformation.cmake 08289893b8 ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway. 19 سال پیش
CMakeCommonLanguageInclude.cmake 45d85c2e34 BUG: fix for 3550 again 19 سال پیش
CMakeConfigurableFile.in 01a55559dd ENH: Make modules use configure instead of file write 20 سال پیش
CMakeDetermineCCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CMakeDetermineCXXCompiler.cmake 592f602c98 BUG: CMAKE_AR should be advanced. 19 سال پیش
CMakeDetermineFortranCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CMakeDetermineJavaCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CMakeDetermineRCCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CMakeDetermineSystem.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CMakeExportBuildSettings.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
CMakeFindFrameworks.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeFindWMake.cmake 9891260a6d ENH: add support for watcom wmake and wcl386 20 سال پیش
CMakeFindXCode.cmake 8960a220a9 ENH: add trycompile code for xcode 21 سال پیش
CMakeFortranCompiler.cmake.in 1cf4d146fc ENH: Merge debian changes. Support more fortran extensions 19 سال پیش
CMakeFortranInformation.cmake 08289893b8 ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway. 19 سال پیش
CMakeGenericSystem.cmake 81b778c074 ENH: Adding advanced option CMAKE_COLOR_MAKEFILE for makefile generators with default ON. 19 سال پیش
CMakeImportBuildSettings.cmake 2523629f4b ENH: fix for case difference with nmake 19 سال پیش
CMakeJavaCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 سال پیش
CMakeJavaInformation.cmake 5ecfd3d4d3 ENH: fix java and add OBJECT_DIR support 19 سال پیش
CMakeLists.txt a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. 22 سال پیش
CMakeMSYSFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 20 سال پیش
CMakeMinGWFindMake.cmake 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 20 سال پیش
CMakeNMakeFindMake.cmake e2d1104881 determine CMAKE_MAKE_PROGRAM in EnableLanguage 23 سال پیش
CMakePrintSystemInformation.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeRCCompiler.cmake.in b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 20 سال پیش
CMakeRCInformation.cmake 718de4cea5 ENH: fix spelling errors 20 سال پیش
CMakeSystem.cmake.in 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR 22 سال پیش
CMakeSystemSpecificInformation.cmake dbe7d39738 BUG: When copying the module variables from shared library variables use double quotes for the required definitions ...PREFIX and ...SUFFIX to make sure a value is set even if it is empty. 20 سال پیش
CMakeTestCCompiler.cmake e49b93989d COMP: More warnings and hp issues 19 سال پیش
CMakeTestCXXCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CMakeTestForFreeVC.cxx 0d4cd0436b ENH better test for free VC tools 21 سال پیش
CMakeTestFortranCompiler.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CMakeTestGNU.c 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 21 سال پیش
CMakeTestJavaCompiler.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeTestNMakeCLVersion.c dfcd4f2154 added test for whether pdbtype should be used for nmake 22 سال پیش
CMakeTestRCCompiler.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeUnixFindMake.cmake 9992fe5103 BUG: Removed stray debugging message. 23 سال پیش
CMakeVS6BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeVS6FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators 19 سال پیش
CMakeVS71FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators 19 سال پیش
CMakeVS7BackwardCompatibility.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
CMakeVS7FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators 19 سال پیش
CMakeVS8FindMake.cmake 51f91db648 ENH: add correct flags for msvc generators 19 سال پیش
CPack.Description.plist.in 5358809a5c ENH: More CPack stuff and fix zlib compression 20 سال پیش
CPack.Info.plist.in a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string 20 سال پیش
CPack.STGZ_Header.sh.in 96d4a89228 ENH: Better output 19 سال پیش
CPack.cmake e36ae0fcb8 ENH: Several cleanups and support for multiple generators 19 سال پیش
CTest.cmake e026f620f8 BUG: fix typo 19 سال پیش
CTestTargets.cmake e26c160698 ENH: Initial import 20 سال پیش
CheckCSourceCompiles.cmake ba539d9605 BUG: Make sure try-compile source ends in a newline. 19 سال پیش
CheckCXXSourceCompiles.cmake ba539d9605 BUG: Make sure try-compile source ends in a newline. 19 سال پیش
CheckForPthreads.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 سال پیش
CheckFunctionExists.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 سال پیش
CheckFunctionExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CheckIncludeFile.c.in 095e975c81 BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 19 سال پیش
CheckIncludeFile.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CheckIncludeFile.cxx.in f5d95fb078 Complete rework of makefile generators expect trouble 23 سال پیش
CheckIncludeFileCXX.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CheckIncludeFiles.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CheckLibraryExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CheckLibraryExists.lists.in 3697ad6dc7 Initial attempt to check if library exists 23 سال پیش
CheckSizeOf.cmake ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 23 سال پیش
CheckSymbolExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CheckTypeSize.c.in 96f948adf5 ENH: fix checktypesize 20 سال پیش
CheckTypeSize.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
CheckVariableExists.c a8b2400f7b BUG#502: Do not let optimizing compilers think the symbol exists. Require the symbol by making the return value depend on it to force linking. 21 سال پیش
CheckVariableExists.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
Dart.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
DartConfiguration.tcl.in 1ca05e219a ENH: Reorganize and add subversion support 21 سال پیش
Documentation.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
DummyCXXFile.cxx 9a6c95fcea add checks for ansi flags and not hard code them 23 سال پیش
FindAVIFile.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindBoost.cmake ef6cf109ed ENH: Adding FindBoost.cmake module from Andrew Maclean. This addresses bug#3447. 19 سال پیش
FindCABLE.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindCurses.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindCygwin.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindDCMTK.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindDart.cmake 7603244509 ENH: use program files env for searching 20 سال پیش
FindDoxygen.cmake 7603244509 ENH: use program files env for searching 20 سال پیش
FindFLTK.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindGCCXML.cmake 7603244509 ENH: use program files env for searching 20 سال پیش
FindGLU.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindGLUT.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindGTK.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindGnuplot.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindHTMLHelp.cmake 7603244509 ENH: use program files env for searching 20 سال پیش
FindITK.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindImageMagick.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindJNI.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindJPEG.cmake 60988dd8a2 ENH: honor REQUIRED flag 19 سال پیش
FindJava.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindKDE.cmake d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 سال پیش
FindKDE3.cmake 6690a252ab BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the complete 20 سال پیش
FindKDE4.cmake 205635dcd5 19 سال پیش
FindLATEX.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindMFC.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindMPEG.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindMPEG2.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindMPI.cmake 7603244509 ENH: use program files env for searching 20 سال پیش
FindMatlab.cmake d2689c95a1 ENH: some style fixes for the book 20 سال پیش
FindMotif.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindOpenAL.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindOpenGL.cmake cf80510ac5 ENH: On apple do not look for X11 19 سال پیش
FindPHP4.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindPNG.cmake a980fdc96a BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES() 20 سال پیش
FindPerl.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindPerlLibs.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindPhysFS.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindPike.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindPythonInterp.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindPythonLibs.cmake a18297e2ca ENH: Updated implementation to use new FIND_* command power. The correct library is now found on MinGW also. 20 سال پیش
FindQt.cmake b442e86492 ENH: change to fatal error 20 سال پیش
FindQt3.cmake d2cb6fec6f ENH: try to find qt3 better 19 سال پیش
FindQt4.cmake c75fb61f3c ENH: put back find qtmain 19 سال پیش
FindRuby.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindSDL.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindSDL_image.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindSDL_mixer.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindSDL_net.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindSDL_sound.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
FindSDL_ttf.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindSWIG.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindSelfPackers.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindTCL.cmake cb95c0a5bc ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks 20 سال پیش
FindTIFF.cmake 64cb554397 ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it. 20 سال پیش
FindTclsh.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindThreads.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
FindUnixCommands.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
FindVTK.cmake 859db10e2a ENH: Add ability to find VTK 5 without user help. 19 سال پیش
FindWget.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindWish.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
FindX11.cmake d71f723b11 ENH: fix find x11 on the mac 19 سال پیش
FindZLIB.cmake 97c5324534 BUG: don't append to ZLIB_NAMES 19 سال پیش
FindwxWidgets.cmake 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 19 سال پیش
FindwxWindows.cmake 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 19 سال پیش
InstallRequiredSystemLibraries.cmake 51f91db648 ENH: add correct flags for msvc generators 19 سال پیش
KDE3Macros.cmake a86c766d2a BUG: kde3: use QT_UIC_EXECUTABLE instead of simply uic 19 سال پیش
MacOSXBundleInfo.plist.in 1dbcfd2a98 ENH: Improve Mac OSX bundle support 22 سال پیش
MacroAddFileDependencies.cmake 63c241ea1e ENH: Updates from KDE 19 سال پیش
NSIS.InstallOptions.ini.in 5b3a2c84fc ENH: use radio buttons to choose PATH options 19 سال پیش
NSIS.template.in 5b3a2c84fc ENH: use radio buttons to choose PATH options 19 سال پیش
TestBigEndian.c fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 22 سال پیش
TestBigEndian.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
TestCXXAcceptsFlag.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
TestForANSIForScope.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
TestForANSIStreamHeaders.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
TestForANSIStreamHeaders.cxx 32b398e55b new try compile module 23 سال پیش
TestForAnsiForScope.cxx a696dbc815 ERR: Removed warning for unused variable. 22 سال پیش
TestForSSTREAM.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
TestForSSTREAM.cxx 9891260a6d ENH: add support for watcom wmake and wcl386 20 سال پیش
TestForSTDNamespace.cmake 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 19 سال پیش
TestForSTDNamespace.cxx f5d95fb078 Complete rework of makefile generators expect trouble 23 سال پیش
UseEcos.cmake d184c10c69 BUG: finally really fix #2576 by adding UseEcos.cmake to cvs :-) 19 سال پیش
UsePkgConfig.cmake d41587b671 BUG: change the formatting of the pkgconfig module documentation so that it 20 سال پیش
UseQt4.cmake f59ad1aa6e ENH: -apply the patches by Clinton Stimpson and Kenneth Moreland which fix 19 سال پیش
UseSWIG.cmake 74eaecfc3e ENH: cleanups 20 سال پیش
UseVTK40.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
UseVTKBuildSettings40.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
UseVTKConfig40.cmake b7fa820118 ENH: add documentation support for modules 20 سال پیش
Use_wxWindows.cmake 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 19 سال پیش
UsewxWidgets.cmake 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 19 سال پیش
VTKCompatibility.cmake 009b3cbb12 ENH: add backwards compatibility fix for more aggressive find_path command 20 سال پیش
kde3init_dummy.cpp.in d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of 20 سال پیش
kde3uic.cmake a86c766d2a BUG: kde3: use QT_UIC_EXECUTABLE instead of simply uic 19 سال پیش
readme.txt 46d266047c ENH: Added documentation about XXX_FIND_COMPONENTS for FIND_PACKAGE. 19 سال پیش

readme.txt

Note to authors of FindXXX.cmake files

We would like all FindXXX.cmake files to produce consistent variable names.

Please use the following consistent variable names for general use.

XXX_INCLUDE_DIRS The final set of include directories listed in one variable for use by client code. This should not be a cache entry.
XXX_LIBRARIES The libraries to link against to use XXX. These should include full paths. This should not be a cache entry.
XXX_DEFINITIONS Definitions to use when compiling code that uses XXX. This really shouldn't include options such as (-DHAS_JPEG)that a client source-code file uses to decide whether to #include
XXX_EXECUTABLE Where to find the XXX tool.
XXX_YYY_EXECUTABLE Where to find the YYY tool that comes with XXX.
XXX_LIBRARY_DIRS Optionally, the final set of library directories listed in one variable for use by client code. This should not be a cache entry.
XXX_ROOT_DIR Where to find the base directory of XXX.
XXX_VERSION_YY Expect Version YY if true. Make sure at most one of these is ever true.
XXX_WRAP_YY If False, do not try to use the relevent CMake wrapping command.
XXX_YY_FOUND If False, optional YY part of XXX sytem is not available.
XXX_FOUND Set to false, or undefined, if we haven't found, or don't want to use XXX.

You do not have to provide all of the above variables. You should provide XXX_FOUND under most circumstances. If XXX is a library, then XXX_LIBRARIES, should also be defined, and XXX_INCLUDE_DIR should usually be defined (I guess libm.a might be an exception)

The following names should not usually be used in CMakeLists.txt files, but they may be usefully modified in users' CMake Caches to control stuff.

XXX_LIBRARY Name of XXX Library. A User may set this and XXX_INCLUDE_DIR to ignore to force non-use of XXX.
XXX_YY_LIBRARY Name of YY library that is part of the XXX system. It may or may not be required to use XXX.
XXX_INCLUDE_DIR Where to find xxx.h, etc. (XXX_INCLUDE_PATH was considered bad because a path includes an actual filename.)
XXX_YY_INCLUDE_DIR Where to find xxx_yy.h, etc.

For tidiness's sake, try to keep as many options as possible out of the cache, leaving at least one option which can be used to disable use of the module, or locate a not-found library (e.g. XXX_ROOT_DIR). For the same reason, mark most cache options as advanced.

If you need other commands to do special things then it should still begin with XXX_. This gives a sort of namespace effect and keeps things tidy for the user. You should put comments describing all the exported settings, plus descriptions of any the users can use to control stuff.

You really should also provide backwards compatibility any old settings that were actually in use. Make sure you comment them as deprecated, so that no-one starts using them.

To correctly document a module, create a comment block at the top with # comments. There are three types of comments that can be in the block:

1. The brief description of the module, this is done by:
# - a small description

2. A paragraph of text. This is done with all text that has a single
space between the # and the text. To create a new paragraph, just
put a # with no text on the line.

3. A verbatim line. This is done with two spaces between the # and the text.

For example:

# - This is a cool module
# This module does really cool stuff.
# It can do even more than you think.
#
# It even needs to paragraphs to tell you about it.
# And it defines the following variables:
# VAR_COOL - this is greate isn't it?
# VAR_REALLY_COOL - cool right?
#

To have a .cmake file in this directory NOT show up in the
modules documentation, you should start the file with a blank
line.

A FindXXX.cmake module will typically be loaded by the command

FIND_PACKAGE(XXX [QUIET] [REQUIRED [components...]])

If the QUIET option is given to the command it will set the variable
XXX_FIND_QUIETLY to true before loading the FindXXX.cmake module. If
this variable is set the module should not complain about not being
able to find the package and should never issue a FATAL_ERROR. If the
REQUIRED option is given to the command it will set the variable
XXX_FIND_REQUIRED to true before loading the FindXXX.cmake module. If
this variable is set the module should issue a FATAL_ERROR if the
package cannot be found. For each package-specific component, say
YYY, listed after the REQUIRED option a variable XXX_FIND_REQUIRED_YYY
to true. The set of components listed will also be specified in a
XXX_FIND_COMPONENTS variable. This can be used by the FindXXX.cmake
module to determine which sub-components of the package must be found.
If neither the QUIET nor REQUIRED options are given then the
FindXXX.cmake module should look for the package and complain without
error if the module is not found.