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 83e2bf8 commit b3c5cdaCopy full SHA for b3c5cda
CMakeLists.txt
@@ -78,8 +78,9 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
78
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -lutil")
79
endif()
80
81
-# *BSD is not supported platform for wasm-micro-runtime. Now, we should be disabled for these platforms.
82
-if(${CMAKE_SYSTEM_NAME} MATCHES "BSD")
+# *BSD is not supported platform for wasm-micro-runtime except for FreeBSD.
+# Now, we should be disabled for these platforms.
83
+if(NOT FLB_SYSTEM_FREEBSD AND ${CMAKE_SYSTEM_NAME} MATCHES "BSD")
84
message(STATUS "This platform is not supported for WASM feature so disabled.")
85
set(FLB_WASM OFF)
86
0 commit comments