aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-07-18 10:09:53 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-07-18 10:09:53 +0000
commit8ab686944700ac7c26511b25a95146e43c8f6c1f (patch)
tree6b35de6f073a69f0748977a1c205000fde6bf446 /llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
parent8d0fc91adc1b833437b83e7063f7a2591014fd2b (diff)
downloadllvm-8ab686944700ac7c26511b25a95146e43c8f6c1f.zip
llvm-8ab686944700ac7c26511b25a95146e43c8f6c1f.tar.gz
llvm-8ab686944700ac7c26511b25a95146e43c8f6c1f.tar.bz2
[CMake] FindJsoncpp.cmake: search pkg-config libs in default search paths.
pkg_search_module(JSONCPP) should set JSONCPP_LIBDIR/JSONCPP_LIBRARY_DIRS to where the libjsoncpp.so can be found. However, on Ubuntu 14.04 LTS (Trusty Tahr) it returns /usr/lib while the libjsoncpp library can be found at /usr/lib/x86_64-linux-gnu/libjsoncpp.so. Thus, while searching for the full path of the jsoncpp library, it is not found. JSONCPP_LIBDIR is correctly set to /usr/lib/x86_64-linux-gnu on e.g., Ubuntu 16.04 LTS (Xenial Xerus ) Fix by removing the NO_DEFAULT_PATH flag, in order to search the system default paths even if the library is not found in JSONCPP_LIBDIR/JSONCPP_LIBRARY_DIRS. This fixes bug llvm.org/PR33798. llvm-svn: 308287
Diffstat (limited to 'llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions