Skip to content

Commit

Permalink
Fix for finding boost.
Browse files Browse the repository at this point in the history
  • Loading branch information
seando-adsk committed Jun 25, 2020
1 parent 7d6d196 commit 2ad7d1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/mayaUsd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ add_library(${PROJECT_NAME} SHARED)
#------------------------------------------------------------------------------
# modules and definitions
#------------------------------------------------------------------------------
if(NOT DEFINED BOOST_ROOT)
set(BOOST_ROOT ${PXR_USD_LOCATION})
if(NOT DEFINED ENV{BOOST_ROOT})
set(ENV{BOOST_ROOT} ${PXR_USD_LOCATION})
endif()
if(MAYAUSD_DEFINE_BOOST_DEBUG_PYTHON_FLAG)
set(Boost_USE_DEBUG_PYTHON ON)
Expand Down
4 changes: 2 additions & 2 deletions plugin/al/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ endif()
set(NEED_BOOST_FILESYSTEM ON)
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(NOT DEFINED BOOST_ROOT)
set(BOOST_ROOT ${PXR_USD_LOCATION})
if(NOT DEFINED ENV{BOOST_ROOT})
set(ENV{BOOST_ROOT} ${PXR_USD_LOCATION})
endif()

set(INSTALL_DIR_SUFFIX plugin/al)
Expand Down

0 comments on commit 2ad7d1a

Please sign in to comment.