[libcxx-commits] [PATCH] D132298: [libcxxabi][cmake] Allow building without libcxx again

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 20 19:34:37 PDT 2022


phosek added inline comments.


================
Comment at: libcxxabi/CMakeLists.txt:143-147
+  if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" OR "${CMAKE_CXX_SIMULATE_ID}" STREQUAL "MSVC")
+    target_compile_options(cxx-headers INTERFACE /I "${LIBCXXABI_LIBCXX_INCLUDES}")
+  else()
+    target_compile_options(cxx-headers INTERFACE -I "${LIBCXXABI_LIBCXX_INCLUDES}")
+  endif()
----------------
Can yo use `target_include_directories` instead?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132298



More information about the libcxx-commits mailing list