diff options
author | Ray Molenkamp <github@lazydodo.com> | 2022-08-06 00:04:37 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2022-08-06 00:04:37 +0300 |
commit | a2d609331722d99964f5ba6d6372192b575985e7 (patch) | |
tree | 57e926337280bc65716443fa203eae506cb72ffc /source/creator/CMakeLists.txt | |
parent | 82a04687a7966b88698446629e705b457d99bcc5 (diff) |
deps: fix windows usd python install
The debug/release python folders need to be
separated since there is not easy way to keep
creators installer from grabbing the wrong pyd's
during install.
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r-- | source/creator/CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index a7b61db22a4..62d10b76a34 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -946,12 +946,23 @@ elseif(WIN32) install( DIRECTORY ${USD_LIBRARY_DIR}/python/ DESTINATION ${TARGETDIR_VER}/python/lib/site-packages + CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel PATTERN ".svn" EXCLUDE PATTERN "__pycache__" EXCLUDE # * any cache * PATTERN "*.pyc" EXCLUDE # * any cache * PATTERN "*.pyo" EXCLUDE # * any cache * ) - unset(_suffix) + + install( + DIRECTORY ${USD_LIBRARY_DIR}/debug/python/ + DESTINATION ${TARGETDIR_VER}/python/lib/site-packages + CONFIGURATIONS Debug + PATTERN ".svn" EXCLUDE + PATTERN "__pycache__" EXCLUDE # * any cache * + PATTERN "*.pyc" EXCLUDE # * any cache * + PATTERN "*.pyo" EXCLUDE # * any cache * + ) + endif() if(WINDOWS_PYTHON_DEBUG) |