Skip to content
Snippets Groups Projects
Commit 935bda12 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Enable sphinx to be run without MantidPlot.

Refs #9639
parent 2e96b850
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,9 @@ import os ...@@ -6,6 +6,9 @@ import os
import sys import sys
def main(): def main():
# Update path to find mantid
sys.path.insert(0, "@CMAKE_LIBRARY_OUTPUT_DIRECTORY@")
# Update environment with screenshots path # Update environment with screenshots path
screenshots_dir = "@SCREENSHOTS_DIR@" screenshots_dir = "@SCREENSHOTS_DIR@"
if screenshots_dir != "": if screenshots_dir != "":
......
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