Commit 47f45770 authored by Haocheng LIU's avatar Haocheng LIU
Browse files

Export smtk python path for downstream libraries

Now smtk exports a CMake variable named SMTK_PYTHONPATH which is the the path
to smtk python.
parent f3bc694d
Pipeline #152472 passed with stages
in 33 minutes and 37 seconds
......@@ -12,6 +12,7 @@ The following variables are provided by this module:
* `SMTK_ENABLE_PARAVIEW_SUPPORT`: Whether ParaView support is available or
not.
* `SMTK_ENABLE_PYTHON_WRAPPING`: Whether Python wrapping is available or not.
* `SMTK_PYTHONPATH`: The path to smtk python.
* `SMTK_ENABLE_QT_SUPPORT`: Whether Qt support is available or not.
* `SMTK_ENABLE_REMUS_SUPPORT`: Whether Remus support is available or not.
* `SMTK_ENABLE_VTK_SUPPORT`: Whether VTK support is available or not.
......@@ -178,6 +179,7 @@ if (SMTK_ENABLE_PYTHON_WRAPPING)
"pybind11 dependency not found")
set("${CMAKE_FIND_PACKAGE_NAME}_FOUND" 0)
endif ()
set(SMTK_PYTHONPATH "@SMTK_PYTHON_MODULEDIR@")
endif ()
unset(_smtk_find_quietly)
......
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