Skip to content

Commit 4b862c0

Browse files
committed
Do not run install_rpath if building a framework as its taken care off later by the framework
1 parent 78042e9 commit 4b862c0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmake/macros/Private.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,11 @@ function(_pxr_add_rpath rpathRef target)
689689
endfunction()
690690

691691
function(_pxr_install_rpath rpathRef NAME)
692+
if (PXR_BUILD_APPLE_FRAMEWORK)
693+
# Apple Frameworks already fix the install path at the end
694+
# so this maks things faster and reduces duplication errors
695+
return()
696+
endif()
692697
# Get and remove the origin.
693698
list(GET ${rpathRef} 0 origin)
694699
set(rpath ${${rpathRef}})

0 commit comments

Comments
 (0)