[Cmake] CHECK_INCLUDE_FILE_CXX

Petr Ferschmann petr at ferschmann . cz
09 Jul 2003 15:06:52 +0200


--=-5HrlmtmEMghApiSYI84N
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello,

I am just trying cmake to use instead of auto* tools.

But I have some problems. I am using CHECK_INCLUDE_FILE_CXX.
I have problem with header <locale>. I am using debian and my default
compiler is gcc 2.95. But I want to use gcc 3.3. I have both installed.
When I run cmake it uses gcc (which is 2.95) and checks headers. It
finds that header <locale> doesn't exist. But when I switch to gcc 3.2
it doesn't check headers again and doesn't look for <locale>. So it thinks=20
that it is not available

This header is in gcc 3.2 in default C++ directory (it is different for
every compiler version).

I want to solve it :-). If you have some idea how to handle it in cmake
I would like to implement it.=20


			Thank you
--=20
                                  Petr "Fers" Ferschmann

 -=3D[  petr at ferschmann . cz  ]=3D=3D[ http://petr . ferschmann . cz/ ]=3D-
-=3D[ Koukni na http://www . postcard . cz/ ]=3D=3D[ +420 604/781 009 ]=3D-

GPG Fingerprint:
[83B0 6378 7A9D D993 035E  60BD FEEC F665 D2C8 1B9A]


--=-5HrlmtmEMghApiSYI84N
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/DBNsKTvcB3Rwi3URAqkCAKCI3Kc5Pa0wCI+Y5UEMRykpf5w7wgCcDHXn
zcUnhb/982vHDPwpOT6M6Fg=
=mpao
-----END PGP SIGNATURE-----

--=-5HrlmtmEMghApiSYI84N--