[PATCH] Do not export gtest library targets or install them for CMake and do not export for Autoconf/Makefile install

Dan Liew dan at su-root.co.uk
Mon Jun 29 09:47:53 PDT 2015


On 29 June 2015 at 07:12, Brad King <brad.king at kitware.com> wrote:
> On 06/26/2015 08:13 PM, Dan Liew wrote:
>> Unfortunately there are still references to gtest and gtest_main in
>> the generated LLVMConfig.cmake when using the Autoconf/Makefile build
>> system.
>>
>> ```
>> set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_gtest LLVMSupport)
>> set_property(GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_gtest_main gtest)
>> ```
>
> Try grepping for the implementation and use of the llvm-build option
> called "--write-cmake-fragment".  That is responsible for generating
> this content in the Autoconf build.

Thanks, attached is a new version of the patch that resolves this issue.

Could you take a look?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_export_gtestv2.patch
Type: text/x-patch
Size: 2002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150629/05d787f5/attachment.bin>


More information about the llvm-commits mailing list