[CMake] set_property() crashing

Bill Hoffman bill.hoffman at kitware.com
Sun Jan 18 12:06:15 EST 2009


Robert Dailey wrote:
> On Sat, Jan 17, 2009 at 10:24 PM, Robert Dailey <rcdailey at gmail.com 
> <mailto:rcdailey at gmail.com>> wrote:
> 
>     Hi,
> 
>     I'm running the following command several times in different child
>     directories:
> 
>     set_property( DIRECTORY ${CMAKE_SOURCE_DIR} PROPERTY
>     INCLUDE_DIRECTORIES ${DC_INCLUDES} )
> 
>     This seems to crash CMake. DC_INCLUDES is a list of absolute paths
>     to include directories.
> 
> 
> Interestingly enough if DC_INCLUDES is empty or does not exist this crashes.
> 
I was able to reproduce, and fix this...

$ cvs commit -m "BUG: fix crash with empty properties" cmMakefile.cxx
Committer: Bill Hoffman <bill.hoffman at kitware.com>
/cvsroot/CMake/CMake/Source/cmMakefile.cxx,v  <--  cmMakefile.cxx
new revision: 1.491; previous revision: 1.490


Thanks, I will push the fix into the 2.6 branch.

-Bill


More information about the CMake mailing list