cmake error list does not recognize sub-command filter code example
Example: list does not recognize sub-command filter
eg:
CMake Error at build/armv7/googlebenchmark-source/src/CMakeLists.txt:14 (list):
list does not recognize sub-command FILTER
Solution:
we must choose "cmake" version atleast 3.6
Filter option availble from cmake 3.6 onwords
list(FILTER <list> <INCLUDE|EXCLUDE> REGEX <regular_expression>)