File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ MACRO_ENSURE_OUT_OF_SOURCE_BUILD(
3434 build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there."
3535 )
3636
37+ if (MSVC )
38+ message (FATAL_ERROR "Libc++abi can't be built for MSVC targets, and doing so is pointless anyway because such "
39+ "targets must use the MS C++ ABI, and libc++abi provides the Itanium C++ ABI." )
40+ endif ()
41+
3742#===============================================================================
3843# Setup CMake Options
3944#===============================================================================
Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ set(LIBUNWIND_LIBCXX_PATH "${CMAKE_CURRENT_LIST_DIR}/../libcxx" CACHE PATH
2424include (GNUInstallDirs)
2525include (CheckSymbolExists)
2626
27+ if (MSVC )
28+ message (FATAL_ERROR "Libunwind doesn't build for MSVC targets, and that is almost certainly not what you want to do "
29+ "anyway since libunwind is tied to the Itanium C++ ABI, and MSVC targets must use the MS C++ ABI." )
30+ endif ()
31+
2732#===============================================================================
2833# Setup CMake Options
2934#===============================================================================
You can’t perform that action at this time.
0 commit comments