[libcxx-commits] [PATCH] D119836: [runtimes] Deprecate FOO_SYSROOT & friends

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 15 11:24:03 PST 2022


phosek added inline comments.


================
Comment at: libcxx/CMakeLists.txt:294
 
+if(NOT CMAKE_SYSROOT AND LIBCXX_SYSROOT)
+  message(WARNING "LIBCXX_SYSROOT is deprecated, please use CMAKE_SYSROOT instead")
----------------
What's the motivation for checking if `CMAKE_SYSROOT` is unset and not just `LIBCXX_SYSROOT`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119836/new/

https://reviews.llvm.org/D119836



More information about the libcxx-commits mailing list