[Bf-blender-cvs] [6c94d8f3aa6] pygpu_extensions: CMake: update MSVC PDB path reference
Campbell Barton
noreply at git.blender.org
Fri Feb 12 16:17:20 CET 2021
Commit: 6c94d8f3aa683d016a029ae350902a00799386ed
Author: Campbell Barton
Date: Fri Feb 12 08:15:09 2021 +1100
Branches: pygpu_extensions
https://developer.blender.org/rB6c94d8f3aa683d016a029ae350902a00799386ed
CMake: update MSVC PDB path reference
Replace literal number with a variable.
===================================================================
M source/creator/CMakeLists.txt
===================================================================
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index e674e665082..c7b940d0012 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -803,13 +803,13 @@ elseif(WIN32)
if(WINDOWS_PYTHON_DEBUG)
install(
- FILES ${LIBDIR}/python/37/libs/python${_PYTHON_VERSION_NO_DOTS}.pdb
+ FILES ${LIBDIR}/python/${_PYTHON_VERSION_NO_DOTS}/libs/python${_PYTHON_VERSION_NO_DOTS}.pdb
DESTINATION "."
CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel
)
install(
- FILES ${LIBDIR}/python/37/libs/python${_PYTHON_VERSION_NO_DOTS}_d.pdb
+ FILES ${LIBDIR}/python/${_PYTHON_VERSION_NO_DOTS}/libs/python${_PYTHON_VERSION_NO_DOTS}_d.pdb
DESTINATION "."
CONFIGURATIONS Debug
)
More information about the Bf-blender-cvs
mailing list