diff options
author | Brad King <brad.king@kitware.com> | 2008-01-21 13:48:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-21 13:48:33 (GMT) |
commit | f41b1e8e9148c62e186e0729c5a5144c51e944e9 (patch) | |
tree | 4c0b4a7d6829a94e2248e6fe583279f906317c3f /Source/cmFindPackageCommand.h | |
parent | 9198a92af9e9f05a90d544c76ffeb65aa1a5281e (diff) | |
download | CMake-f41b1e8e9148c62e186e0729c5a5144c51e944e9.zip CMake-f41b1e8e9148c62e186e0729c5a5144c51e944e9.tar.gz CMake-f41b1e8e9148c62e186e0729c5a5144c51e944e9.tar.bz2 |
ENH: Implement version support in the find_package command module mode. Version numbers provided to the command are converted to variable settings to tell the FindXXX.cmake module what version is requested. This addresses issue #1645.
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r-- | Source/cmFindPackageCommand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h index af41048..7090eee 100644 --- a/Source/cmFindPackageCommand.h +++ b/Source/cmFindPackageCommand.h @@ -94,6 +94,11 @@ private: std::string CommandDocumentation; cmStdString Name; cmStdString Variable; + cmStdString Version; + unsigned int VersionMajor; + unsigned int VersionMinor; + unsigned int VersionPatch; + unsigned int VersionCount; cmStdString FileFound; bool Quiet; bool Required; |