View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006117CMakeModulespublic2007-12-04 07:102008-02-07 13:20
ReporterAlban Browaeys 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006117: [FIX] FindPkgConfig has a bug . On second run of cmake it succeed even if the module is still missing
DescriptionOn first run FindPkgConfig works properly but on second run it does not check if ${prefix}_FOUND is true.

Attached patch from Bjoern Ricks fixes it (from #opensync on freenode).

Regards
Alban
Additional InformationFixed in CVS, and should be in 2.4.8 RC 6
TagsNo tags attached.
Attached Filesdiff file icon FindPKgConfig_checkifprefixfoundbeforereadingcache.diff [^] (1,038 bytes) 2007-12-04 07:10 [Show Content]
diff file icon FindPkgConfig_preventcachenotfound2.cmake.diff [^] (1,013 bytes) 2008-02-04 10:49 [Show Content]

 Relationships

  Notes
(0010379)
Alban Browaeys (reporter)
2008-02-04 10:48

the issue also apply to pkg_check_module :
patch attached
(0010424)
Bill Hoffman (manager)
2008-02-07 13:20

$ cvs commit -m "BUG: fix for bug 6117 pkgconfig" FindPkgConfig.cmake
/cvsroot/CMake/CMake/Modules/FindPkgConfig.cmake,v <-- FindPkgConfig.cmake
new revision: 1.7; previous revision: 1.6

Fixed in CVS, should be in 2.6.

 Issue History
Date Modified Username Field Change
2007-12-04 07:10 Alban Browaeys New Issue
2007-12-04 07:10 Alban Browaeys File Added: FindPKgConfig_checkifprefixfoundbeforereadingcache.diff
2007-12-14 12:56 Bill Hoffman Status new => closed
2007-12-14 12:56 Bill Hoffman Resolution open => fixed
2007-12-14 12:56 Bill Hoffman Additional Information Updated
2008-02-04 10:48 Alban Browaeys Status closed => feedback
2008-02-04 10:48 Alban Browaeys Resolution fixed => reopened
2008-02-04 10:48 Alban Browaeys Note Added: 0010379
2008-02-04 10:49 Alban Browaeys File Added: FindPkgConfig_preventcachenotfound2.cmake.diff
2008-02-07 13:20 Bill Hoffman Status feedback => closed
2008-02-07 13:20 Bill Hoffman Note Added: 0010424
2008-02-07 13:20 Bill Hoffman Resolution reopened => fixed


Copyright © 2000 - 2018 MantisBT Team