[CMake] 'No known features for CXX compiler' warning with custom Clang

James Turner james.turner at kdab.com
Mon Dec 19 04:51:48 EST 2016


> On 16 Dec 2016, at 22:59, Robert Maynard <robert.maynard at kitware.com> 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
> currently it believes that none of the features listed in it are
> valid.
> 
> Now if the file is empty, that means we are looking at a CMake logic
> bug somewhere before this.

In my case there is no feature_tests.cxx generated at all. 

Kind regards,
James

--
James Turner - Senior Software Developer
KDAB - The Qt, C++ and OpenGL Experts




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3868 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20161219/7687c96f/attachment.bin>


More information about the CMake mailing list