[PATCH] D32668: CMake: Split static library exports into their own export file

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 15:10:54 PDT 2017


chapuni added a comment.

I see. I still wonder who uses find_package(LLVM) without libs, though. Let me know the case.



================
Comment at: cmake/modules/AddLLVM.cmake:591
           NOT LLVM_DISTRIBUTION_COMPONENTS)
-        set(export_to_llvmexports EXPORT LLVMExports)
+        if (ARG_SHARED)
+          set(export_to_llvmexports EXPORT LLVMExports)
----------------
It isn't enabled in BUILD_SHARED_LIBS.

Then lib*.so(s) are included in LLVMStaticExports.cmake. Is it intended?
I guess it wouldn't affect to most developers, though.


https://reviews.llvm.org/D32668





More information about the llvm-commits mailing list