cmake --version
cmake version 3.5.2
list(FILTER HEADERS EXCLUDE REGEX "^\\..+")
CMake Error at CMakeLists.txt:49 (list):
list does not recognize sub-command FILTER
Is it problem with version I am using?
Its on ubuntu. Its the latest version one gets from the official ubuntu repository.
Its working fine on Mac with version 3.6.2
What is the least cmake version that offers this?
That is to be expected, list(FILTER
was introduced in CMake 3.6.
https://cmake.org/cmake/help/v3.5/command/list.html https://cmake.org/cmake/help/v3.6/command/list.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With