about summary refs log tree commit diff homepage
path: root/runtime/POSIX
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@rwth-aachen.de>2018-10-22 15:42:49 +0200
committerMartinNowack <martin.nowack@gmail.com>2019-07-30 14:49:24 +0100
commit2d6a5dd67f2fdc346e7ccba55643db30ecfd3a82 (patch)
tree0d2cf9668d84b080030e828bdd9fefad90490249 /runtime/POSIX
parenteef4fc08530f357cc49109dc738f1ab4c519a42c (diff)
downloadklee-2d6a5dd67f2fdc346e7ccba55643db30ecfd3a82.tar.gz
CMake: enable reuse of LLVM's googletest src and targets
Fixes an issue that occurs with USE_CMAKE_FIND_PACKAGE_LLVM=ON
and LLVM compiled from sources, which then exports gtest and
gtest_main targets.

In case gtest and gtest_main targets are not imported from LLVM
and GTEST_SRC_DIR is not set, CMake can now reuse the googletest
sources from LLVM_BUILD_MAIN_SRC_DIR (if available) with
USE_CMAKE_FIND_PACKAGE_LLVM=ON. This last limitation is due to
LLVM making modifications to the CMakeLists.txt of googletest
that requires add_llvm_library() from AddLLVM.cmake.
Diffstat (limited to 'runtime/POSIX')
0 files changed, 0 insertions, 0 deletions