diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2017-04-23 14:30:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-18 17:44:25 (GMT) |
commit | a929dd166e16cd7b3aa4c9352faaf3b01bc61101 (patch) | |
tree | 16bb3b91740f8528344ecdefdc3997191893cdcb /Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h | |
parent | a1cdf537ffb33db3a368dc4c2c3662fa27568400 (diff) | |
download | CMake-a929dd166e16cd7b3aa4c9352faaf3b01bc61101.zip CMake-a929dd166e16cd7b3aa4c9352faaf3b01bc61101.tar.gz CMake-a929dd166e16cd7b3aa4c9352faaf3b01bc61101.tar.bz2 |
FindBoost: Simplify search in lists
Instead of `list(FIND...)` and then checking result for `-1`
(found/not-found), nowadays `if` command has the `IN_LIST` test for
that.
This change was originally made by commit v3.9.0-rc1~41^2 (FindBoost:
Simplify search in lists, 2017-04-23) but then had to be reverted by
commit v3.9.2~3^2 (FindBoost: Revert "Simplify search in lists.",
2017-09-05) due to problems related to using `find_dependency`. Those
problems were addressed by commit 3080a0a611 (FindBoost: Improve
behavior when thread dependency is missing, 2017-09-15), so now we can
restore the original change.
Issue: #17252
Diffstat (limited to 'Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions