Skip to content

Commit

Permalink
Manage Houdini python modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Flèche committed Apr 25, 2019
1 parent 8a41445 commit 8cef5cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/defaults/pxrConfigHoudini.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ set(CMAKE_IMPORT_FILE_VERSION 1)

set(PXR_INCLUDE_DIRS ${USD_LOCATION}/toolkit/include)
set(USD_PLUGINS_DIR ${USD_LOCATION}/dsolib/usd_plugins)
set(USD_PYTHONPATH ${USD_LOCATION}/python/lib/python2.7/site-packages)

set(_DSOLIB_DIR "${USD_LOCATION}/dsolib")
set(_PYTHONLIB_DIR "${USD_LOCATION}/python/lib")
Expand Down
1 change: 1 addition & 0 deletions cmake/modules/FindUSD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ if(USE_HOUDINI_USD)
elseif(EXISTS ${USD_LOCATION}/pxrConfig.cmake)
include(${USD_LOCATION}/pxrConfig.cmake)
set(USD_PLUGINS_DIR ${USD_LOCATION}/plugin/usd)
set(USD_PYTHONPATH ${USD_LOCATION}/lib/python)
endif()

include(FindPackageHandleStandardArgs)
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ install(
# Tests

set(TESTS_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/testenv)
set(_testPYTHONPATH "PYTHONPATH=${INSTALL_PYTHONPACKAGE_DIR}/..:${USD_LOCATION}/lib/python:$ENV{PYTHONPATH}")
set(_testPYTHONPATH "PYTHONPATH=${INSTALL_PYTHONPACKAGE_DIR}/..:${USD_PYTHONPATH}:$ENV{PYTHONPATH}")
set(_testPXR_PLUGINPATH_NAME "PXR_PLUGINPATH_NAME=${CMAKE_INSTALL_PREFIX}/plugin/usd:${PXR_PLUGINPATH_NAME}")

if(APPLE)
Expand Down

0 comments on commit 8cef5cb

Please sign in to comment.