[libcxx-commits] [libcxx] [libc++] change the visibility of libc++ header to public in libcxx module (PR #91240)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 6 10:08:13 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: RichardLuo (RichardLuo0)

<details>
<summary>Changes</summary>

Same as #<!-- -->91182 

---
Full diff: https://github.com/llvm/llvm-project/pull/91240.diff


1 Files Affected:

- (modified) libcxx/modules/CMakeLists.txt.in (+1-1) 


``````````diff
diff --git a/libcxx/modules/CMakeLists.txt.in b/libcxx/modules/CMakeLists.txt.in
index c35f6fecb1fd76..9fef16e9cefde9 100644
--- a/libcxx/modules/CMakeLists.txt.in
+++ b/libcxx/modules/CMakeLists.txt.in
@@ -41,7 +41,7 @@ target_sources(std
     std.cppm
 )
 
-target_include_directories(std SYSTEM PRIVATE @LIBCXX_CONFIGURED_INCLUDE_DIRS@)
+target_include_directories(std SYSTEM PUBLIC @LIBCXX_CONFIGURED_INCLUDE_DIRS@)
 
 if (NOT @LIBCXX_ENABLE_EXCEPTIONS@)
   target_compile_options(std PUBLIC -fno-exceptions)

``````````

</details>


https://github.com/llvm/llvm-project/pull/91240


More information about the libcxx-commits mailing list