Skip to content

Commit

Permalink
Merge pull request #2948 from Autodesk/donnels/fix_sceneindex_library…
Browse files Browse the repository at this point in the history
…_path

Fix SceneIndex library path (linux/mac need lib prefix)
  • Loading branch information
seando-adsk authored Mar 17, 2023
2 parents 88e6cae + 13a6ea0 commit b90bd43
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib/mayaUsd/sceneIndex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@ install(FILES ${HEADERS}
# plugInfo
# -----------------------------------------------------------------------------

if(IS_WINDOWS)
set(PLUG_INFO_LIBRARY_PATH "mayaUsd.dll")
elseif(IS_MACOSX)
set(PLUG_INFO_LIBRARY_PATH "mayaUsd.dylib")
elseif(IS_LINUX)
set(PLUG_INFO_LIBRARY_PATH "mayaUsd.so")
endif()

set(PLUG_INFO_LIBRARY_PATH ${CMAKE_SHARED_LIBRARY_PREFIX}${PROJECT_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX})
set(PLUG_INFO_DIR ${CMAKE_INSTALL_PREFIX}/lib/usd/sceneIndex/resources)

configure_file(
Expand Down

0 comments on commit b90bd43

Please sign in to comment.