Commit ecdc6a76 authored by Ben Boeckel's avatar Ben Boeckel

cmb: get SMTK's libdir from the cache

The variable doesn't live long enough otherwise.
parent 9a6382bc
......@@ -24,7 +24,7 @@ add_external_project_or_just_build_dependencies(cmb
-DCMB_TEST_DATA_ROOT:PATH=${CMB_TEST_DATA_ROOT}
#specify semi-colon separated paths for session plugins
-DCMB_TEST_PLUGIN_PATHS:STRING=<INSTALL_DIR>/${smtk_libdir}
-DCMB_TEST_PLUGIN_PATHS:STRING=<INSTALL_DIR>/${SMTK_PLUGIN_SUBDIR}
#specify what mesh workers we should build
-DBUILD_TRIANGLE_MESH_WORKER:BOOL=${triangle_ENABLED}
......
......@@ -16,6 +16,7 @@ set(smtk_libdir lib)
if (WIN32)
set(smtk_libdir bin)
endif ()
set(SMTK_PLUGIN_SUBDIR "${smtk_libdir}" CACHE INTERNAL "SMTK's plugin directory")
set(SMTK_DATA_DIR "" CACHE PATH "Location of SMTK's testing data")
......
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