Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2022-08-06 00:04:37 +0300
committerRay Molenkamp <github@lazydodo.com>2022-08-06 00:04:37 +0300
commita2d609331722d99964f5ba6d6372192b575985e7 (patch)
tree57e926337280bc65716443fa203eae506cb72ffc /source/creator/CMakeLists.txt
parent82a04687a7966b88698446629e705b457d99bcc5 (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.txt13
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)