Skip to content
Snippets Groups Projects
Commit 57111115 authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Remove hardcoded path to vtkWasmSceneManager.mjs

- when testing occurs with an SDK install, the path is different and the test fails.
- use `TARGET_FILE` with `VTK::` namespace for the `WasmSceneManager` target so that the correct path is used.
parent 3daf3457
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ endif ()
set(_vtk_testing_nodejs_exe "${NodeJS_INTERPRETER}")
list(APPEND _vtk_node_args
--import "${PROJECT_BINARY_DIR}/bin/vtkWasmSceneManager.mjs")
--import "$<TARGET_FILE:VTK::WasmSceneManager>")
vtk_add_test_module_javascript_node(
testInitialize.mjs,NO_DATA
testBlobs.mjs,
......
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