We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934a430 commit d68795bCopy full SHA for d68795b
libcxx/src/CMakeLists.txt
@@ -254,7 +254,7 @@ if (LIBCXX_ENABLE_SHARED)
254
list(APPEND LIBCXX_BUILD_TARGETS "cxx_shared")
255
endif()
256
257
-if(WIN32 AND NOT (${CMAKE_CXX_COMPILER_FRONTEND_VARIANT} STREQUAL "MSVC"))
+if(WIN32)
258
string(APPEND link_libraries " ${CMAKE_LINK_LIBRARY_FLAG}dbghelp")
259
string(APPEND link_libraries " ${CMAKE_LINK_LIBRARY_FLAG}psapi")
260
libcxx/src/stacktrace/windows_impl.cpp
@@ -17,11 +17,6 @@
17
# include <psapi.h>
18
# include <stacktrace>
19
20
-# if defined(_MSC_VER)
21
-# pragma comment(lib, "dbghelp.lib")
22
-# pragma comment(lib, "psapi.lib")
23
-# endif
24
-
25
_LIBCPP_BEGIN_NAMESPACE_STD
26
namespace __stacktrace {
27
0 commit comments