summaryrefslogtreecommitdiff
blob: 9777bad13e8bfbb12f5dc69f0eb95b934196e054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 3ca71af0e83fce89df0bfb472b28abe3c4e08c57 Mon Sep 17 00:00:00 2001
From: Bernd Waibel <waebbl@gmail.com>
Date: Sat, 15 Jun 2019 15:13:03 +0200
Subject: [PATCH 3/5] Fix env var for renderman. This is called RMANTREE on
 linux.

Signed-off-by: Bernd Waibel <waebbl@gmail.com>
---
 cmake/AlembicPRMan.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/AlembicPRMan.cmake b/cmake/AlembicPRMan.cmake
index e02b237..fdbf26c 100644
--- a/cmake/AlembicPRMan.cmake
+++ b/cmake/AlembicPRMan.cmake
@@ -66,8 +66,8 @@ ELSE()
 ENDIF()
 
 # Prefer PRMAN_ROOT set from the environment over the CMakeCache'd variable
-IF(NOT $ENV{PRMAN_ROOT}x STREQUAL "x")
-  SET( ALEMBIC_PRMAN_ROOT $ENV{PRMAN_ROOT})
+IF(NOT $ENV{RMANTREE}x STREQUAL "x")
+  SET( ALEMBIC_PRMAN_ROOT $ENV{RMANTREE})
 ENDIF()
 
 
-- 
2.22.0