We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f270b4e commit fa486a2Copy full SHA for fa486a2
1 file changed
CMakeLists.txt
@@ -280,6 +280,12 @@ if(MSVC)
280
target_compile_options(snmalloc INTERFACE "/Zc:__cplusplus")
281
endif()
282
283
+if(MINGW)
284
+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
285
+ target_compile_options(snmalloc INTERFACE "-fms-extensions")
286
+ endif()
287
+endif()
288
+
289
if (CMAKE_SYSTEM_NAME STREQUAL NetBSD)
290
target_include_directories(snmalloc INTERFACE /usr/pkg/include)
291
target_link_directories(snmalloc INTERFACE /usr/pkg/lib)
0 commit comments