Skip to content

Commit

Permalink
Merge pull request #479 from CesiumGS/fix-tbb-lib-name-linux
Browse files Browse the repository at this point in the history
Fix tbb library name on Linux
  • Loading branch information
lilleyse authored Oct 4, 2023
2 parents 256c9e7 + 8e043e7 commit e5aa976
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,12 @@ set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_LIBRARIES})
# Add TBB
set(NVIDIA_USD_TARGET_NAMES ${NVIDIA_USD_TARGET_NAMES} tbb)
set(NVIDIA_USD_RELEASE_LIBRARIES ${NVIDIA_USD_RELEASE_LIBRARIES} tbb)
set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_DEBUG_LIBRARIES} tbb_debug)

if(WIN32)
set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_DEBUG_LIBRARIES} tbb_debug)
else()
set(NVIDIA_USD_DEBUG_LIBRARIES ${NVIDIA_USD_DEBUG_LIBRARIES} tbb)
endif()

# Add boost python
set(NVIDIA_USD_TARGET_NAMES ${NVIDIA_USD_TARGET_NAMES} boost_python310)
Expand Down

0 comments on commit e5aa976

Please sign in to comment.