https://github.com/Kitware/CMake
Revision a929dd166e16cd7b3aa4c9352faaf3b01bc61101 authored by Alex Turbov on 23 April 2017, 14:30:31 UTC, committed by Brad King on 18 September 2017, 17:44:25 UTC
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
1 parent a1cdf53
Tip revision: a929dd166e16cd7b3aa4c9352faaf3b01bc61101 authored by Alex Turbov on 23 April 2017, 14:30:31 UTC
FindBoost: Simplify search in lists
FindBoost: Simplify search in lists
Tip revision: a929dd1
File | Mode | Size |
---|---|---|
.github | ||
Auxiliary | ||
Help | ||
Licenses | ||
Modules | ||
Packaging | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.clang-format | -rw-r--r-- | 201 bytes |
.clang-tidy | -rw-r--r-- | 962 bytes |
.gitattributes | -rw-r--r-- | 1.1 KB |
.gitignore | -rw-r--r-- | 64 bytes |
.hooks-config | -rw-r--r-- | 418 bytes |
CMakeCPack.cmake | -rw-r--r-- | 9.5 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 12.6 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 29.4 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CONTRIBUTING.rst | -rw-r--r-- | 2.1 KB |
CTestConfig.cmake | -rw-r--r-- | 440 bytes |
CTestCustom.cmake.in | -rw-r--r-- | 6.2 KB |
CompileFlags.cmake | -rw-r--r-- | 2.6 KB |
Copyright.txt | -rw-r--r-- | 4.9 KB |
DartConfig.cmake | -rw-r--r-- | 374 bytes |
README.rst | -rw-r--r-- | 3.0 KB |
bootstrap | -rwxr-xr-x | 47.2 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 790 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...