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

List:       kde-core-devel
Subject:    Problem with cmake's generated config.h
From:       Szombathelyi "György" <gyurco () freemail ! hu>
Date:       2006-04-01 9:49:21
Message-ID: 200604011149.21355.gyurco () freemail ! hu
[Download RAW message or body]

Hi!

I noticed a flaw with the generated config.h, when the appropriate config 
check is not in the top-level directory's CMakeLists.txt file, but in one of 
its sub-folders. For example: in kdebase/kioslaves/{pop3,smtp} there are 
config checks for the sasl2 library, but in config.h, the HAVE_LIBSASL2 never 
defined. If I move the config check to the top-level CMakeLists.txt, the 
#define works correctly. The same applies to HAVE_LIBSMBCLIENT.
I work-arounded this in kdeadmin/kuser, with creating a custom ku_config.h in 
the kuser directory. Is this a bug or feature of CMake?

Bye,
György

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol
Probald ki most! http://www.freestart.hu


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

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