[Bf-blender-cvs] [1b946319757] master: CMake: Fix using numpy variable for the zstandard path

Campbell Barton noreply at git.blender.org
Tue Jan 18 07:24:01 CET 2022


Commit: 1b946319757af390b85cf10ccf423528b1c48aec
Author: Campbell Barton
Date:   Tue Jan 18 17:18:57 2022 +1100
Branches: master
https://developer.blender.org/rB1b946319757af390b85cf10ccf423528b1c48aec

CMake: Fix using numpy variable for the zstandard path

Copy paste error in a5917175d8c1a7cab83b401ae2f4affcd4ab8df4.

===================================================================

M	source/creator/CMakeLists.txt

===================================================================

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index a5d20e1fa37..0609b8fd792 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -656,11 +656,11 @@ if(UNIX AND NOT APPLE)
         # Install to the same directory as the source, so debian-like
         # distros are happy with their policy.
         set(_suffix "site-packages")
-        if(${PYTHON_NUMPY_PATH} MATCHES "dist-packages")
+        if(${PYTHON_ZSTANDARD_PATH} MATCHES "dist-packages")
           set(_suffix "dist-packages")
         endif()
         install(
-          DIRECTORY ${PYTHON_NUMPY_PATH}/zstandard
+          DIRECTORY ${PYTHON_ZSTANDARD_PATH}/zstandard
           DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix}
           PATTERN ".svn" EXCLUDE
           PATTERN "__pycache__" EXCLUDE           # * any cache *



More information about the Bf-blender-cvs mailing list