Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brothermechanic/60f67a99eba487d7718e785f8a6088c6 to your computer and use it in GitHub Desktop.
Save brothermechanic/60f67a99eba487d7718e785f8a6088c6 to your computer and use it in GitHub Desktop.
bin/cg/media-libs/openusd/files/install.diff
--- a/cmake/macros/Public.cmake 2020-04-19 20:03:23.627551629 +0300
+++ b/cmake/macros/Public.cmake 2020-04-19 20:07:00.774219072 +0300
@@ -825,7 +825,7 @@
"${plugInfoContents}")
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/usd_plugInfo.json"
- DESTINATION plugin/usd
+ DESTINATION "${CMAKE_INSTALL_PREFIX}"/share/usd/plugin/usd
RENAME "plugInfo.json"
)
endfunction() # pxr_setup_plugins
--- a/pxr/CMakeLists.txt 2020-04-19 19:52:44.560882678 +0300
+++ b/pxr/CMakeLists.txt 2020-04-19 20:06:38.077552324 +0300
@@ -18,7 +18,7 @@
"${PROJECT_BINARY_DIR}/pxrConfig.cmake" @ONLY)
install(FILES
"${PROJECT_BINARY_DIR}/pxrConfig.cmake"
- DESTINATION "${CMAKE_INSTALL_PREFIX}"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}"/share/usd/
)
if (NOT PXR_BUILD_MONOLITHIC)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment