From kde-core-devel Sat Apr 01 09:49:21 2006 From: Szombathelyi "György" Date: Sat, 01 Apr 2006 09:49:21 +0000 To: kde-core-devel Subject: Problem with cmake's generated config.h Message-Id: <200604011149.21355.gyurco () freemail ! hu> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=114390993902671 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