Commit f1fcae12 authored by John Tourtellott's avatar John Tourtellott

Define SMTK_SCRATCH_DIR independent of SMTK_DATA_DIR

parent 38b65dbc
......@@ -44,9 +44,9 @@ function(smtk_unit_tests)
${VTK_INCLUDE_DIRS}
)
target_compile_definitions(${test_prog} PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
if(have_testing_data)
target_compile_definitions(${test_prog} PRIVATE "SMTK_DATA_DIR=\"${SMTK_DATA_DIR}\"")
target_compile_definitions(${test_prog} PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
endif()
foreach (test ${SMTK_ut_SOURCES})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment