Re: [CMake] Question on variable check in Cmake macro files

2009-04-28 Thread Alexander Neundorf
On Tuesday 28 April 2009, Steve Huston wrote: > Thanks, Denis! > > To KitWare... UNSET is not in the "Mastering CMake" book... Yes, UNSET() didn't exist yet when the book was written. Alex ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Question on variable check in Cmake macro files

2009-04-28 Thread Steve Huston
Thanks, Denis! To KitWare... UNSET is not in the "Mastering CMake" book... > -Original Message- > From: Denis Scherbakov [mailto:denis_scherba...@yahoo.com] > Sent: Tuesday, April 28, 2009 12:10 PM > To: cmake@cmake.org; Steve Huston > Subject: Re: [CMake] Ques

Re: [CMake] Question on variable check in Cmake macro files

2009-04-28 Thread Denis Scherbakov
UNSET (HAVE_SOMETHING CACHE) > Is there any way to force the check to run without deleting > the cache > file? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Plea

[CMake] Question on variable check in Cmake macro files

2009-04-28 Thread Steve Huston
Hi, While trying to figure out why my check for a system header file is not working, I was reading the CheckIncludeFile.cmake source to see what it does. I have a question on this idiom: IF("${VARIABLE}" MATCHES "^${VARIABLE}$") ... It seems to prevent the check for the include file from runn