Skip to content
Snippets Groups Projects
Commit 96998888 authored by David Gobbi's avatar David Gobbi
Browse files

Make WrappingTools -pthread flag wasm-specific

parent a5c56520
No related branches found
No related tags found
No related merge requests found
......@@ -52,9 +52,11 @@ set(_vtk_module_no_namespace_abi_mangling ON)
vtk_module_add_module("${ns}::WrappingTools"
SOURCES ${sources}
HEADERS ${headers})
vtk_module_compile_options("${ns}::WrappingTools"
PRIVATE
"-pthread")
if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
vtk_module_compile_options("${ns}::WrappingTools"
PRIVATE
"-pthread")
endif ()
if (NOT TARGET "${ns}::WrapHierarchy")
vtk_module_add_executable(WrapHierarchy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment