mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
cmake: unset launcers if testing is disabled
This commit is contained in:
parent
6cda22710e
commit
eadc9b8f31
@ -167,9 +167,6 @@ if (NOT data STREQUAL "\n")
|
||||
"Testing is enabled, but the data is not available. Use git lfs in order "
|
||||
" to obtain the testing data.")
|
||||
set(VTKm_ENABLE_TESTING off)
|
||||
if (CTEST_USE_LAUNCHERS)
|
||||
set(CTEST_USE_LAUNCHERS off)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# We include the wrappers unconditionally as VTK-m expects the function to
|
||||
@ -340,6 +337,8 @@ if (VTKm_ENABLE_TESTING)
|
||||
# installed version of VTK-m.
|
||||
include(testing/VTKmTestInstall)
|
||||
vtkm_test_install()
|
||||
else ()
|
||||
set(CTEST_USE_LAUNCHERS off)
|
||||
endif()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user