[Bf-blender-cvs] [3fea77ceedc] master: CMake: update MSVC PDB path reference

Campbell Barton noreply at git.blender.org
Thu Feb 11 22:19:13 CET 2021


Commit: 3fea77ceedcda59af05110cc085a1e8c6d97c004
Author: Campbell Barton
Date:   Fri Feb 12 08:15:09 2021 +1100
Branches: master
https://developer.blender.org/rB3fea77ceedcda59af05110cc085a1e8c6d97c004

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