diff --git a/cmake/modules/FindGLEW.cmake b/cmake/modules/FindGLEW.cmake index b1b5eb2c66..b27be07110 100644 --- a/cmake/modules/FindGLEW.cmake +++ b/cmake/modules/FindGLEW.cmake @@ -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 diff --git a/cmake/modules/FindPTex.cmake b/cmake/modules/FindPTex.cmake index 22c8c298c7..56fd51db20 100644 --- a/cmake/modules/FindPTex.cmake +++ b/cmake/modules/FindPTex.cmake @@ -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 @@ -132,4 +134,4 @@ endif(PTEX_FOUND) mark_as_advanced( PTEX_INCLUDE_DIR PTEX_LIBRARY -) \ No newline at end of file +)