[clang] [clang][Driver][Darwin] Optionally use xcselect to find macOS SDK (PR #119670)

Steven Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 12 10:14:58 PST 2024


================
@@ -214,6 +214,39 @@ if(GCC_INSTALL_PREFIX AND NOT USE_DEPRECATED_GCC_INSTALL_PREFIX)
     "See https://github.com/llvm/llvm-project/pull/77537 for detail.")
 endif()
 
+if(APPLE)
+  check_include_file(xcselect.h CLANG_HAVE_XCSELECT_H)
----------------
cachemeifyoucan wrote:

All the configuration in this block should only be done if `CLANG_USE_XCSELECT` is enabled.

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


More information about the cfe-commits mailing list