[libcxx-commits] [libcxx] d3b74dc - Restore 8954fd436c7 after c06a8f9caa51c

Nico Weber via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 2 06:20:29 PDT 2021


Author: Nico Weber
Date: 2021-04-02T09:19:36-04:00
New Revision: d3b74dc1e472c773c27dbbe2b3ae2a3cd0b68c17

URL: https://github.com/llvm/llvm-project/commit/d3b74dc1e472c773c27dbbe2b3ae2a3cd0b68c17
DIFF: https://github.com/llvm/llvm-project/commit/d3b74dc1e472c773c27dbbe2b3ae2a3cd0b68c17.diff

LOG: Restore 8954fd436c7 after c06a8f9caa51c

Else, just-built clang can't build programs that include libc++ headers
on macOS if you build via the 'all' target.

Added: 
    

Modified: 
    libcxx/include/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index 4c7fd862f5e6..c044a5da8441 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -204,7 +204,7 @@ foreach(f ${files})
   list(APPEND _all_includes "${dst}")
 endforeach()
 
-add_custom_target(generate-cxx-headers DEPENDS ${_all_includes})
+add_custom_target(generate-cxx-headers ALL DEPENDS ${_all_includes})
 
 add_library(cxx-headers INTERFACE)
 add_dependencies(cxx-headers generate-cxx-headers ${LIBCXX_CXX_ABI_HEADER_TARGET})


        


More information about the libcxx-commits mailing list