Skip to content

Commit

Permalink
refs #4318. Should fix PATH updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Dec 13, 2011
1 parent 5d8f015 commit cc985e1
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Code/Mantid/Vates/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ if( ParaView_FOUND AND USE_PARAVIEW )
ClearErrors
ReadEnvStr $R0 'MANTIDPATH'
IfErrors 0 +2
messagebox mb_ok 'Mantid does not appear to be installed.'
messagebox mb_ok 'Mantid may not be installed. Please check that you have installed Mantid properly.'
Push \\\"PATH\\\"
Push \\\"A\\\"
Push \\\"HKCU\\\"
Expand All @@ -72,6 +72,13 @@ if( ParaView_FOUND AND USE_PARAVIEW )
Push \\\"PATH\\\"
Push \\\"A\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\..\\\\plugins\\\"
Call EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"A\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\"
Call EnvVarUpdate
Pop \\\$0
Expand Down Expand Up @@ -103,6 +110,13 @@ if( ParaView_FOUND AND USE_PARAVIEW )
Push \\\"PATH\\\"
Push \\\"R\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\..\\\\plugins\\\"
Call un.EnvVarUpdate
Pop \\\$0
Push \\\"PATH\\\"
Push \\\"R\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\"
Call un.EnvVarUpdate
Pop \\\$0
Expand Down

0 comments on commit cc985e1

Please sign in to comment.