Hi,
I’m seeing this error from Cmake (3.7.0) when using a custom Clang (from
homebrew) on Mac. Googling turns up hits from Cmake 3.0/3.1 when compiler
features was being added. What can I do to trace down or debug this error when
it occurs with a recent build of Clang?
I am guessing there is s
I would start by looking at the how CMake identified the compiler. You
can find this information inside:
/CMakeFiles/3.7.0/CMakeCXXCompiler.cmake
The important information being what CMAKE_CXX_COMPILER_ID and
CMAKE_CXX_COMPILER_VERSION are set too.
On Fri, Dec 16, 2016 at 6:55 AM, James Turner
> On 16 Dec 2016, at 15:30, Robert Maynard wrote:
>
> /CMakeFiles/3.7.0/CMakeCXXCompiler.cmake
>
> The important information being what CMAKE_CXX_COMPILER_ID and
> CMAKE_CXX_COMPILER_VERSION are set too.
Here’s what I have. I note the _FEATURES variables are all empty.
set(CMAKE_CXX_COMPILER
That is odd. Inside your build/CMakeFiles should be a file called
feature_tests.cxx, and that file is how we determine what features the
clang compiler supports.
I would use that to determine why feature detection is failing, since
currently it believes that none of the features listed in it are
v
> On 16 Dec 2016, at 22:59, Robert Maynard wrote:
>
> That is odd. Inside your build/CMakeFiles should be a file called
> feature_tests.cxx, and that file is how we determine what features the
> clang compiler supports.
>
> I would use that to determine why feature detection is failing, since
>
Are you able to send me the CMakeError.log and CMakeOutput.log from
your build/CMakeFiles/ directory.
On Mon, Dec 19, 2016 at 4:51 AM, James Turner wrote:
>
>> On 16 Dec 2016, at 22:59, Robert Maynard wrote:
>>
>> That is odd. Inside your build/CMakeFiles should be a file called
>> feature_tests
> On 19 Dec 2016, at 09:51, James Turner wrote:
>
> In my case there is no feature_tests.cxx generated at all.
For the benefit of posterity, Robert very kindly figured this out: the problem
is I did not have CMP0025 set, and the minimum CMake version was set < 3.3
This breaks compiler featur