Re: [CMake] Failure to build CMake 3.11.0 on ARMv7 Ubuntu 16.04 due to std::size undefined

2018-04-07 Thread Andrew Brownsword
I have managed to get CMake 3.11.0 to build by hacking the CLang-CXX file to specify -std=c++1y instead of 1z. With 1z the __cplusplus define is set to a 2017 date such that the CMake code presumes the existence of std::size, which isn’t actually defined in the headers I have (presumably becaus

Re: [CMake] find_package not finding Threads

2018-04-07 Thread Andrew Brownsword
I updated to CMake 3.11.0, but still got the same error. I have gotten around the problem by removing the find_package and forcing -pthread on the C/C++ command line, however this is an unsatisfying resolution to the problem. > On Mar 30, 2018, at 12:06 PM, Andrew Brownsword > wrote: > > I h

[CMake] Generator expression for "is in list"?

2018-04-07 Thread Sam Edwards
Hello list! I'm trying to write a generator expression that only evaluates if my target is directly (not transitively) linked into the consuming target. I figured the easiest way to do that would be to test if the target's name appears in $, however I'm not seeing a generator expression for substr