[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
Wed Jun 12 02:20:28 PDT 2024


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

>From 205050370829322cbadd1beb44f4e909d75b95e0 Mon Sep 17 00:00:00 2001
From: RichardLuo <22096448+RichardLuo0 at users.noreply.github.com>
Date: Tue, 7 May 2024 01:02:45 +0800
Subject: [PATCH] change the visibility of libc++ header to public

---
 libcxx/modules/CMakeLists.txt.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcxx/modules/CMakeLists.txt.in b/libcxx/modules/CMakeLists.txt.in
index c35f6fecb1fd7..9fef16e9cefde 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)



More information about the libcxx-commits mailing list