From kde-buildsystem Sat Feb 11 20:52:38 2006 From: ralf.habacker () freenet ! de (Ralf Habacker) Date: Sat, 11 Feb 2006 20:52:38 +0000 To: kde-buildsystem Subject: multiple pathes in cmake variables Message-Id: <43EE4E96.7000508 () freenet ! de> X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=116644620531273 Alexander Neundorf schrieb: > On Saturday 11 February 2006 19:48, Alexander Neundorf wrote: > >> On Saturday 11 February 2006 19:13, Alexander Neundorf wrote: >> >>> On Saturday 11 February 2006 18:46, you wrote: >>> ... >>> >>> >>>> Any better way to deal with like extending FIND_PATH to be able to >>>> handle path lists ? >>>> >>> No, I don't think so. >>> I'll fix the FindFoo.cmake files this evening. >>> >> I have fixed it locally and am compiling it right now. Once comnpiling has >> finished (usually it takes something like 80 minutes) I'll commit it. >> CMAKE_INCLUDE_PATH will then work as you expect, no need to add libxml2/ >> explicitely to it. >> > > Ok, committed, please test. > Your last commit 508458 does not work as expected, because there is no foreach loop in case more than one path is given with CMAKE_INCLUDE_PATH. I have commited a working version. Ralf