Skip to content

Commit

Permalink
Merge pull request #808 from charlesfleche/better-ptex-glew-find
Browse files Browse the repository at this point in the history
Better ptex glew find

(Internal change: 1959855)
  • Loading branch information
pixar-oss committed Apr 22, 2019
2 parents 19feb12 + 732c913 commit 43fb92b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmake/modules/FindGLEW.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ if (${CMAKE_HOST_UNIX})
GLEW glew
HINTS
"${GLEW_LOCATION}/lib"
"${GLEW_LOCATION}/lib64"
"$ENV{GLEW_LOCATION}/lib"
"$ENV{GLEW_LOCATION}/lib64"
PATHS
"${GLEW_LOCATION}/lib"
/usr/lib64
Expand Down
4 changes: 3 additions & 1 deletion cmake/modules/FindPTex.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ else ()
Ptexture.h
HINTS
"${PTEX_LOCATION}/include"
"${PTEX_LOCATION}/include/Ptex"
"${PTEX_LOCATION}/include/wdas"
"$ENV{PTEX_LOCATION}/include"
"$ENV{PTEX_LOCATION}/include/Ptex"
"$ENV{PTEX_LOCATION}/include/wdas"
PATHS
/usr/include
Expand Down Expand Up @@ -132,4 +134,4 @@ endif(PTEX_FOUND)
mark_as_advanced(
PTEX_INCLUDE_DIR
PTEX_LIBRARY
)
)

0 comments on commit 43fb92b

Please sign in to comment.