File tree 2 files changed +10
-0
lines changed
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(
34
34
build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there."
35
35
)
36
36
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
+
37
42
#===============================================================================
38
43
# Setup CMake Options
39
44
#===============================================================================
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
24
24
include (GNUInstallDirs)
25
25
include (CheckSymbolExists)
26
26
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
+
27
32
#===============================================================================
28
33
# Setup CMake Options
29
34
#===============================================================================
You can’t perform that action at this time.
0 commit comments