diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2014-10-03 16:49:00 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2014-10-07 21:14:45 (GMT) |
commit | 4f9bf4468bd5bcd48be080fa0bc736ebb9df4769 (patch) | |
tree | fea00a2bab7f7b936c4910076e3ea6b0224dbca3 /Tests/RunCMake/FPHSA/exact_1.1.cmake | |
parent | 0e0cb710d03006920bef9d8746e0966a6e48e8fb (diff) | |
download | CMake-4f9bf4468bd5bcd48be080fa0bc736ebb9df4769.zip CMake-4f9bf4468bd5bcd48be080fa0bc736ebb9df4769.tar.gz CMake-4f9bf4468bd5bcd48be080fa0bc736ebb9df4769.tar.bz2 |
FPHSA: when EXACT version match is requested only compare the components given
Given that you have a foobar that identifies itself as 1.2.3 from now on a
find_package(foobar 1.2 EXACT)
will succeed, as 1.2.3 will now be considered as being 1.2. Until now this was
only the case for version 1.2.0.
Diffstat (limited to 'Tests/RunCMake/FPHSA/exact_1.1.cmake')
-rw-r--r-- | Tests/RunCMake/FPHSA/exact_1.1.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/FPHSA/exact_1.1.cmake b/Tests/RunCMake/FPHSA/exact_1.1.cmake new file mode 100644 index 0000000..d967da9 --- /dev/null +++ b/Tests/RunCMake/FPHSA/exact_1.1.cmake @@ -0,0 +1 @@ +find_package(Pseudo 1.1 EXACT REQUIRED) |