[CMake] FindJsoncpp.cmake: Use foreach variable.
commit2fbf6842a229e36b80d9df126272108532cf5765
authorMichael Kruse <llvm@meinersbur.de>
Tue, 18 Jul 2017 10:09:58 +0000 (18 10:09 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 18 Jul 2017 10:09:58 +0000 (18 10:09 +0000)
treee88bf3c5f97daf4a6be4be1f97e7128f7f5b93c6
parent6caeeabdcfd2d97cf36572c96c7d750ae631d71d
[CMake] FindJsoncpp.cmake: Use foreach variable.

Use ${libname} instead of ${lib}. By a coincidence, this worked
because ${lib} also the variable used for finding the libjsoncpp.so
full path.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@308288 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/FindJsoncpp.cmake