From 0e865f149f9f42ca4c5f0c18e9cdd0a89cdb8b26 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 21 Mar 2013 08:25:57 -0700 Subject: [PATCH] cmLib.c: Added kFulPathFsFl to directory scan in cmLibScan() to return full path to library files. --- cmLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmLib.c b/cmLib.c index 3d7e4e2..afca329 100644 --- a/cmLib.c +++ b/cmLib.c @@ -245,7 +245,7 @@ cmLibRC_t cmLibScan( cmLibH_t h, const cmChar_t* dirStr ) if( cmFileSysIsValid(p->fsH) == false ) return cmErrMsg(&p->err,kFileSysFailLibRC,"The file system object was not successfully initialized."); - if((d = cmFileSysDirEntries(p->fsH, dirStr, kFileFsFl, &dirEntryCnt )) != NULL ) + if((d = cmFileSysDirEntries(p->fsH, dirStr, kFileFsFl | kFullPathFsFl, &dirEntryCnt )) == NULL ) return cmErrMsg(&p->err,kFileSysFailLibRC,"The scan of directory '%s' failed.",cmStringNullGuard(dirStr)); for(i=0; i