[CMake] FindJsoncpp.cmake: Use descriptive variable name for libjsoncpp.so path.
commit5b70ce7730ecc01ee491232635f760fbdda439d7
authorMichael Kruse <llvm@meinersbur.de>
Tue, 18 Jul 2017 10:10:02 +0000 (18 10:10 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 18 Jul 2017 10:10:02 +0000 (18 10:10 +0000)
treef7f4b8a330f9f3ecc062ac652efa8f4aed07d84b
parent2fbf6842a229e36b80d9df126272108532cf5765
[CMake] FindJsoncpp.cmake: Use descriptive variable name for libjsoncpp.so path.

find_library(lib) stores the result in the variable "lib", which is also
cached in CMakeCache.txt.  This could theoretically conflict if jsoncpp
required two libraries, which each would get cached as "lib".  Use a
more descriptive and disambiguative "jsoncpp_${libname}" for that.

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