[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] 'No known features for CXX compiler' warning with custom Clang
From:       James Turner <james.turner () kdab ! com>
Date:       2016-12-20 16:55:32
Message-ID: FBB46273-CB08-427E-8128-06AE1A364291 () kdab ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> On 19 Dec 2016, at 09:51, James Turner <james.turner@kdab.com> 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 feature detection with a custom Clang. Setting the policy to NEW \
makes everything work as expected.

Kind regards,
James

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


["smime.p7s" (smime.p7s)]

0	*H
 010	+0	*H
 00 #SanzTgk!0
	*H
0o10	USE10U
AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA \
Root0 141222000000Z
200530104838Z010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email \
CA0"0 	*H
0

zSNpRV&IQZI`zQBy"aNv#
J	n=ٺ.CRC|2PȦOZϓ%{0dV*$3DiFK \
3@@:*S= \
a<UNv%!)|qvO_T{5R"=,0-1YR73i-C֥wgQ'뼥8v8ߌIs: \
2:=F:WtaP@?⟢!00U#0z4&&T$T0Uak \
Og 0U0U00U%0++0U \
 00U 0DU=0;09 7 \
53http://crl.usertrust.com/AddTrustExternalCARoot.crl05+)0'0%+0http://ocsp.usertrust.com0
 	*H
*nU:Uka+	#fjow^a}[jr
AX& MX"cR6}Xޫ;cs{B#ʶM>K-ػBKiۦ74{:ǟO4ne6 \
d)5ֱqC>2Svʆ4,Jؙ ␒ZBj#!eջ~ꌅ \
b:,Yř38zyJ&|0a0I y&C60 	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email \
CA0 150529000000Z
180528235959Z0Y10	USE10
U683 3110U	Vaermland10UHagfors10U	Norrings vaeg 210
UBox 301&0$U
Klarälvdalens Datakonsult AB10UA KDAB Group Company1C0AU:Issued \
through Klarälvdalens Datakonsult AB E-PKI Manager10UCorporate Secure \
Email10UJames Turner1$0"	*H 	james.turner@kdab.com0"0
	*H
0
'P{qv98T;SesӴo<ɬ"sܜHn̚0%
g)EG3@,HW?C=cnbc
A'	#m!zk7PyLc \
X8NЅӄϨ}Q**M#xqG{0=2Xa4 \
McAlAǃ&*V̕t~[+M6,"qL00U#0ak Og \
0UdzɓD#p5/h0U \
0U00U%0++0FU \
?0=0;+10+0)+https://secure.comodo.net/CPS0]UV0T0R P \
NLhttp://crl.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crl0+ \
00X+0Lhttp://crt.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0 \
U0james.turner@kdab.com0 	*H
bt o	w8LOd	o.89xǝ- \
ݧ,lV]bqe)m^?q{4<,pܢ'e)-W*_+aIfMQw}Y, \
l;+/_2M$X9KUi/==J$P<N:L% \
CyM_<. 10 0010	UGB10UGreater \
Manchester10USalford10U COMODO CA Limited1A0?U8COMODO SHA-256 \
Client Authentication and Secure Email CAy&C60	+ 0	*H \
	1	*H 0	*H
	1
161220165532Z0#	*H
	1:Gf|\J_0 	+710010	UGB10UGreater \
Manchester10USalford10U COMODO CA Limited1A0?U8COMODO SHA-256 \
Client Authentication and Secure Email CAy&C60*H 	1 \
010	UGB10UGreater Manchester10USalford10U COMODO CA \
Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email \
CAy&C60 	*H

GPU/Гx,RCo*ox6雤;TK4??eTϥ=	 \
`vP@Ȟ{;c3B-bG#WJ;vFQrw\63/ӛlןrNk-8k?6qifE \
⭰9jOH7WNu_%((&*kbt*Iy}q4joqLoҍYS۷V




-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic