cherry-picked commits from petrj (#60)

pull/40/head
Nestal Wan 2012-06-12 23:53:32 +08:00
parent 72052edf37
commit 5740d7b77f
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ find_package(LibGcrypt REQUIRED)
find_package(JSONC REQUIRED)
find_package(CURL REQUIRED)
find_package(EXPAT REQUIRED)
find_package(Boost 1.44.0 COMPONENTS filesystem system REQUIRED)
find_package(Boost 1.42.0 COMPONENTS filesystem system REQUIRED)
find_package(BFD)
find_package(CppUnit)
find_package(Iberty)

View File

@ -128,7 +128,7 @@ Resource* ResourceTree::FindByPath( const fs::path& path )
current = current->Parent() ;
else
current = current->FindChild( Path2Str(i->filename()) ) ;
current = current->FindChild( Path2Str(*i) ) ;
}
return current ;